Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
d-feet
bugfix_python27_not_start.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bugfix_python27_not_start.patch of Package d-feet
Index: d-feet-0.1.12/dfeet/settings.py =================================================================== --- d-feet-0.1.12.orig/dfeet/settings.py +++ d-feet-0.1.12/dfeet/settings.py @@ -7,6 +7,7 @@ import ConfigParser import os +import sys class Settings: """ @@ -31,6 +32,10 @@ class Settings: filename -- path to the settings file. If None, the default ~/.dfeet/config will be used. """ + if sys.version_info[:2]==(2,7): + self.version2_7=True + else: + self.version2_7=False if not filename: self.filename = os.path.expanduser("~/.d-feet/config") else: @@ -71,6 +76,8 @@ class Settings: for key in self.general: if key.endswith('list'): self.general[key] = ','.join(self.general[key]) + if self.general[key] == None and self.version2_7: + self.general[key] = '' self.config.set("General", key, self.general[key])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor