Skip to content

Commit

Permalink
Fix use of uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratio2 committed Dec 10, 2013
1 parent cdc8528 commit 2b3762d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions master/buildbot/process/users/manual.py
Expand Up @@ -175,6 +175,7 @@ def perspective_commandline(self, op, bb_username, bb_password, ids, info):
# when adding, we update the user after the first attr
once_through = False
for attr in user:
result = None
if op == 'update' or once_through:
if uid:
result = yield self.master.db.users.updateUser(
Expand Down

0 comments on commit 2b3762d

Please sign in to comment.