summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gogolok <gogo@cs.uni-sb.de>2007-06-05 15:49:33 +0000
committerRobert Gogolok <gogo@cs.uni-sb.de>2007-06-05 15:49:33 +0000
commitf91745ba46b5b2acfc7b4f11f0e05e16770cbe4a (patch)
treebfd83756e5f42475b5d5328bdbedf24056aff273
parente57ef67c2f869513ee8e742e762130b945327ef9 (diff)
downloadbcfg2-f91745ba46b5b2acfc7b4f11f0e05e16770cbe4a.tar.gz
bcfg2-f91745ba46b5b2acfc7b4f11f0e05e16770cbe4a.tar.bz2
bcfg2-f91745ba46b5b2acfc7b4f11f0e05e16770cbe4a.zip
bcfg2-admin-export: 'siggi' is an internal project name, remove it
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3236 ce84e21b-d406-0410-9b95-82705330c041
-rwxr-xr-xtools/bcfg2-export-config14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/bcfg2-export-config b/tools/bcfg2-export-config
index 3ae637c36..fc01430ce 100755
--- a/tools/bcfg2-export-config
+++ b/tools/bcfg2-export-config
@@ -13,12 +13,12 @@ def buildConfiguration(core, client):
return core.BuildConfiguration(client)
-def write_siggi_entry(user, group, permission, path):
- '''Write an entry to the configfiles.siggi file which is needed by siggi.'''
- f = open(outputdir + '/configfiles.siggi', 'a')
+def write_entry(user, group, permission, path):
+ '''Write an entry to the configfiles file.'''
+ f = open(outputdir + '/configfiles', 'a')
f.write("%s,%s,%s,%s\n" % (user, group, permission, path))
f.close()
- logger.info("Wrote siggi entry." )
+ logger.info("Wrote entry." )
class ConfigFileNotBuild(Exception):
def __init__(self, value):
@@ -56,11 +56,11 @@ def handleConfigFileEntry(cfg):
raise ConfigFileNotBuild(name)
f.close()
- # write siggi entry
+ # write entry
try:
- write_siggi_entry(user, group, permission, name)
+ write_entry(user, group, permission, name)
except:
- logger.error("Writing entry to configfiles.siggi failed!")
+ logger.error("Writing entry to configfiles failed!")
raise
logger.info("<<<")