Phong Nguyen has proposed merging 
lp:~phong-nguyen-thanh/openobject-client/bug+675826 into lp:openobject-client.

Requested reviews:
  OpenERP sa GTK client R&D (openerp-dev-gtk)
Related bugs:
  #675826 AttributeError: 'bool' object has no attribute 'upper'
  https://bugs.launchpad.net/bugs/675826


Fix client crashes as described in lp675826
-- 
https://code.launchpad.net/~phong-nguyen-thanh/openobject-client/bug+675826/+merge/41259
Your team OpenERP sa GTK client R&D is requested to review the proposed merge 
of lp:~phong-nguyen-thanh/openobject-client/bug+675826 into 
lp:openobject-client.
=== modified file 'bin/rpc.py'
--- bin/rpc.py	2010-11-02 09:43:38 +0000
+++ bin/rpc.py	2010-11-19 04:29:52 +0000
@@ -378,7 +378,7 @@
             self.timezone = self.rpc_exec_auth('/common', 'timezone_get')
             try:
                 import pytz
-                pytz.timezone(self.timezone)
+                pytz.timezone(str(self.timezone))
             except pytz.UnknownTimeZoneError:
                 # Server timezone is not recognized!
                 # Time values will be displayed as if located in the server timezone. (nothing we can do)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to