Fix indentation
This commit is contained in:
parent
3974355cec
commit
40de9b2d00
2 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue