/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: Teddy Hogeborn
  • Date: 2011-12-21 17:17:32 UTC
  • mto: This revision was merged to the branch mainline in revision 527.
  • Revision ID: teddy@recompile.se-20111221171732-j1yfbekvztjk205a
* mandos-ctl (main): Correct "except:" syntax.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
            #restore stderr
237
237
            os.dup2(stderrcopy, sys.stderr.fileno())
238
238
            os.close(stderrcopy)
239
 
    except dbus.exceptions.DBusException, e:
 
239
    except dbus.exceptions.DBusException:
240
240
        print("Access denied: Accessing mandos server through dbus.",
241
241
              file=sys.stderr)
242
242
        sys.exit(1)