This is an automatically generated e-mail. To reply, visit: http://reviewboard-fedoraserver.rhcloud.com/r/158/ |
config/roles/databaseserver/tools/rk_db_setpwd.py (Diff revision 3) | |||
---|---|---|---|
def main(): |
|||
78 | user_pass = raw_input(False) |
78 | user_pass = input(False) |
Should be noted that input is a different function on Python2 which equals to running eval on raw_input.
src/rolekit/async.py (Diff revision 3) | |||
---|---|---|---|
def start_with_callbacks(generator, result_handler, error_handler): |
|||
132 | if exception is not None: |
133 | if exception: |
Check
if exception is not None
and simpleif exception
is not the same thing.In
if exception is not None
will go to else branch only if exception is None.In
if exception
will got else branch if exception is None, or 0, or '', or whatever what evaluates to False
- Robert Kuska
On jún 24th, 2015, 12:11 popoludní UTC, Stephen Gallagher wrote:
Review request for RoleKit Mailing List, Miloslav Trmac, Stephen Gallagher, and Thomas Woerner.
By Stephen Gallagher.
Updated jún 24, 2015, 12:11 popoludní
Repository:
rolekit
Description
Testing
Diffs
|