Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
unho committed Apr 16, 2014
1 parent f83c7fa commit f8f4f20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions translate/storage/properties.py
Expand Up @@ -564,8 +564,8 @@ def parse(self, propsrc):
default_encodings=[self.personality.default_encoding, 'utf-8',
'utf-16'])
if not text:
raise IOError("Cannot detect encoding for %s."
% (self.filename or "given string") )
raise IOError("Cannot detect encoding for %s." % (self.filename or
"given string"))
self.encoding = encoding
propsrc = text

Expand Down

0 comments on commit f8f4f20

Please sign in to comment.