summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b15cfd)
raw | patch | inline | side by side (parent: 7b15cfd)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 22 Jun 2011 21:50:46 +0000 (21:50 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 22 Jun 2011 21:50:46 +0000 (21:50 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4620 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/instance.py | patch | blob | history |
diff --git a/roundup/instance.py b/roundup/instance.py
index ad256f75f13560d47e10755df4726a6ded26ad4e..6680ba83668938e38dfb90b4a958b5a82e8257fc 100644 (file)
--- a/roundup/instance.py
+++ b/roundup/instance.py
sys.path.remove(libdir)
def get_backend_name(self):
- o = __builtin__.open
- f = o(os.path.join(self.config.DATABASE, 'backend_name'))
+ f = file(os.path.join(self.config.DATABASE, 'backend_name'))
name = f.readline().strip()
f.close()
return name