PySide Bug Reproduction: Final version of threading that shows the pyside bug
[gc-dialer] / src / dialcentral.py
index cdc5169..86a0db1 100755 (executable)
@@ -9,37 +9,14 @@ published by the Free Software Foundation.
 """
 
 
-import os
 import sys
-import logging
 
 
-_moduleLogger = logging.getLogger(__name__)
 sys.path.append("/opt/dialcentral/lib")
 
 
-import constants
 import dialcentral_qt
 
 
 if __name__ == "__main__":
-       try:
-               os.makedirs(constants._data_path_)
-       except OSError, e:
-               if e.errno != 17:
-                       raise
-
-       try:
-               os.makedirs(constants._cache_path_)
-       except OSError, e:
-               if e.errno != 17:
-                       raise
-
-       logFormat = '(%(relativeCreated)5d) %(levelname)-5s %(threadName)s.%(name)s.%(funcName)s: %(message)s'
-       logging.basicConfig(level=logging.DEBUG, filename=constants._user_logpath_, format=logFormat)
-       _moduleLogger.info("%s %s-%s" % (constants.__app_name__, constants.__version__, constants.__build__))
-       _moduleLogger.info("OS: %s" % (os.uname()[0], ))
-       _moduleLogger.info("Kernel: %s (%s) for %s" % os.uname()[2:])
-       _moduleLogger.info("Hostname: %s" % os.uname()[1])
-
        dialcentral_qt.run()