diff options
| author | Adrian Likins <alikins@redhat.com> | 2007-09-24 15:22:16 -0400 |
|---|---|---|
| committer | Adrian Likins <alikins@redhat.com> | 2007-09-24 15:22:16 -0400 |
| commit | 9c72cbd826528bb64267ba2184ae16099343c7ab (patch) | |
| tree | ef33f4ac253ebd1c9c1deb8618d6ac6a405b1c4d /server/config_data.py | |
| parent | bcbdab56d02a09ecda8a70acd6e5990073dd6b3e (diff) | |
pyflakes cleanups
mostly just removing unused modules
change "from codes import *" to "import codes" in a couple
places and updated accordingly
Diffstat (limited to 'server/config_data.py')
| -rwxr-xr-x | server/config_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/config_data.py b/server/config_data.py index 7ace8ca..ed12383 100755 --- a/server/config_data.py +++ b/server/config_data.py @@ -12,8 +12,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +import codes -from codes import * import os import ConfigParser @@ -35,7 +35,7 @@ class Config: def read(self): if not os.path.exists(CONFIG_FILE): - raise FuncException("Missing %s" % CONFIG_FILE) + raise codes.FuncException("Missing %s" % CONFIG_FILE) cp = ConfigParser.ConfigParser() |
