Advertisement
Guest User

tools.patch

a guest
Jan 12th, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.38 KB | None | 0 0
  1. === modified file 'common/tools.py'
  2. --- common/tools.py 2013-12-19 15:29:18 +0000
  3. +++ common/tools.py 2014-01-12 19:05:10 +0000
  4. @@ -28,7 +28,7 @@
  5.  keyring = None
  6.  keyring_warn = False
  7.  try:
  8. -    if os.getenv('BIT_USE_KEYRING', 'true') == 'true':
  9. +    if os.getenv('BIT_USE_KEYRING', 'true') == 'true' and os.geteuid() != 0:
  10.          import keyring
  11.  except:
  12.      keyring = None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement