projects
/
pgarchives.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e23ca3
)
Oops..
author
Magnus Hagander
<magnus@hagander.net>
Sun, 1 Jul 2012 18:17:26 +0000
(20:17 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 1 Jul 2012 18:17:26 +0000
(20:17 +0200)
loader/lib/parser.py
patch
|
blob
|
blame
|
history
diff --git
a/loader/lib/parser.py
b/loader/lib/parser.py
index da1936f5675f5f9b7d821a70cc2a7a79fee2f977..c70494559ee0de4a9f38fcde5f848ebdab9b6e77 100644
(file)
--- a/
loader/lib/parser.py
+++ b/
loader/lib/parser.py
@@
-82,12
+82,12
@@
class ArchivesParser(object):
return 'cp850'
if lcharset == 'koi8r':
return 'koi8-r'
- if lcharset = 'cp 1252':
+ if lcharset =
=
'cp 1252':
return 'cp1252'
- if lcharset = 'iso-8859-1,iso-8859-2':
+ if lcharset =
=
'iso-8859-1,iso-8859-2':
# Why did this show up more than once?!
return 'iso-8859-1'
- if lcharset = 'x-windows-949':
+ if lcharset =
=
'x-windows-949':
return 'ms949'
return charset