not_root disappeared from global namespace since rev 103

Bug #936930 reported by Valentine Gostev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kewpie
Medium
Valentine Gostev

Bug Description

20120220-192330 INFO Processing test suites...
<type 'exceptions.Exception'> global name 'not_root' is not defined
20120220-192330 INFO Stopping all running servers...

Sample code:

def skip_checks(system_manager):
    if (not_root):
        return True, "Requires to be root!"
    else:
        return False, None

Changed in kewpie:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Valentine Gostev (longbow)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers