Permalink
Browse files

Refactoring and some cleanup.

  • Loading branch information...
1 parent 3bd9643 commit e4d8920843e0be0dc76bfcd87ea70885e3536645 @truedat101 committed Jun 11, 2009
Showing with 4 additions and 2 deletions.
  1. +2 −0 README
  2. +1 −1 src/sponge/tools/Sponger.py
  3. +1 −1 src/sponge/tools/sponger.py
View
@@ -19,6 +19,8 @@ INSTALL
python setup.py install
or
python setup.py install --prifix=/foo/path (to install under /foo/path, useful for Macs)
+ or
+ http://docs.python.org/install/index.html
USAGE
spongex -c=[config file path]
@@ -84,7 +84,7 @@ def initEnv(self, siteFile):
print "Error: Cannot open file $s" % siteFile
return (len(self.spongeDatasourceEnv) + len(self.spongeProjectEnv) + len(self.spongeReportEnv))
def soak(self):
- if (1): # Check for existence of data source plugins
+ if (len(spongeDatasourcePlugins) > 0): # Check for existence of data source plugins
plugin = 0
#
# Use Default
@@ -84,7 +84,7 @@ def initEnv(self, siteFile):
print "Error: Cannot open file $s" % siteFile
return (len(self.spongeDatasourceEnv) + len(self.spongeProjectEnv) + len(self.spongeReportEnv))
def soak(self):
- if (1): # Check for existence of data source plugins
+ if (len(spongeDatasourcePlugins) > 0): # Check for existence of data source plugins
plugin = 0
#
# Use Default

0 comments on commit e4d8920

Please sign in to comment.