Skip to content

Commit

Permalink
Merge pull request #323 from plus3it/fix_open_issue
Browse files Browse the repository at this point in the history
Fixing issues with `open`.
  • Loading branch information
KevinPlus3 authored Jun 7, 2017
2 parents 3d7dd84 + 1e9eeed commit d06ab10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchmaker/workers/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_dist_info(self):

# Read first line from /etc/system-release
try:
with open(name='/etc/system-release', mode='rb') as fh_:
with open('/etc/system-release', mode='rb') as fh_:
release = fh_.readline().strip()
except Exception:
self.log.critical(
Expand Down

0 comments on commit d06ab10

Please sign in to comment.