Fix indentation

This commit is contained in:
Florent 2012-04-26 12:03:31 +02:00 committed by Romain Bignon
commit 40de9b2d00
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class LanguageNotSupported(UserError):
""" """
def __init__(self, msg='language is not supported'): def __init__(self, msg='language is not supported'):
UserError.__init__(self,msg) UserError.__init__(self, msg)
class TranslationFail(UserError): class TranslationFail(UserError):

View file

@ -692,7 +692,7 @@ class Keyring(object):
def exists(self): def exists(self):
if not os.path.exists(self.vpath): if not os.path.exists(self.vpath):
return False return False
if os.path.exists(self.path): if os.path.exists(self.path):
# Check the file is not empty. # Check the file is not empty.
# This is because there was a bug creating empty keyring files. # This is because there was a bug creating empty keyring files.