gnome-specimen r119 - in branches/import-from-bzr: . specimen



Author: wbolster
Date: Tue Jun 17 18:53:54 2008
New Revision: 119
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=119&view=rev

Log:
* specimen/main.py:
  - Remove 'locale' module, it is not needed


Modified:
   branches/import-from-bzr/   (props changed)
   branches/import-from-bzr/specimen/main.py

Modified: branches/import-from-bzr/specimen/main.py
==============================================================================
--- branches/import-from-bzr/specimen/main.py	(original)
+++ branches/import-from-bzr/specimen/main.py	Tue Jun 17 18:53:54 2008
@@ -23,7 +23,6 @@
 
 def main(args):
     import gettext
-    import locale
 
     # Check module dependencies at run time instead of at build time. See
     # http://uwstopia.nl/blog/2006/11/using-autotools-to-detect-python-modules
@@ -54,8 +53,6 @@
 
     gettext.bindtextdomain(config.PACKAGE, config.LOCALEDIR)
     gettext.textdomain(config.PACKAGE)
-    locale.bindtextdomain(config.PACKAGE, config.LOCALEDIR)
-    locale.textdomain(config.PACKAGE)
     gtk.glade.bindtextdomain(config.PACKAGE, config.LOCALEDIR)
     gtk.glade.textdomain(config.PACKAGE)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]