gwibber fails to run: using wrong locale call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gwibber |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
File "/usr/lib/
says....
def getlocale(
""" Returns the current setting for the given locale category as
tuple (language code, encoding).
category may be one of the LC_* value except LC_ALL. It
defaults to LC_CTYPE.
Except for the code 'C', the language code corresponds to RFC
1766. code and encoding can be None in case the values cannot
be determined.
"""
!!! BUT !!!
File "/home/
loc = locale.
following patch (also as attachment) should fix this to smarter, right?
=== modified file 'gwibber/
--- gwibber/
+++ gwibber/
@@ -9,10 +9,10 @@
import re, os, facelib, locale, mx.DateTime
def parse_time(t):
- loc = locale.
- locale.
+ loc = locale.
+ locale.
result = mx.DateTime.
- locale.
+ locale.
return result
LINK_PARSE = re.compile(
Thanks! I've applied your patch in revision 111. :-)