Skip to content

Commit

Permalink
Revert "Make pylint happy"
Browse files Browse the repository at this point in the history
This reverts commit 8f4a8d3.
  • Loading branch information
fennm committed Jul 1, 2013
1 parent 8f4a8d3 commit 8bc1659
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/sbin/bcfg2-info
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,9 @@ Bcfg2 client itself.""")
for entry in struct:
if entry.tag == 'Path':
entry.set('name', odir + '/' + entry.get('name'))
if entry.get('mode') is not None:
entry.set(
'mode',
oct(int(entry.get('mode'), 8) | stat.S_IWUSR)
)
if entry.get('mode') != None:
entry.set('mode', \
oct(int(entry.get('mode'), 8)|stat.S_IWUSR))

posix = Bcfg2.Client.Tools.POSIX.POSIX(MockLog(),
self.setup,
Expand Down

0 comments on commit 8bc1659

Please sign in to comment.