whitespace stuff

This commit is contained in:
Gunther Hagleitner 2012-02-04 04:03:59 -08:00
parent ba62af4d2f
commit fcfc6e798a
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
keys=root
[logger_root]
level=DEBUG
level=INFO
handlers=hand01
formatter=form01

View File

@ -103,7 +103,7 @@ class SwiftInstaller(comp.PythonInstallComponent):
'SWIFT_PARTITION_POWER_SIZE': self.cfg.get('swift',
'partition_power_size'),
'NODE_PATH': '%NODE_PATH%',
'BIND_PORT':'%BIND_PORT%',
'BIND_PORT': '%BIND_PORT%',
'LOG_FACILITY': '%LOG_FACILITY%'
}

View File

@ -305,7 +305,7 @@ def symlink(source, link, force=True):
mkdirslist(path)
LOG.debug("Creating symlink from %s => %s" % (link, source))
if force and exists(link):
unlink(link, True)
unlink(link, True)
os.symlink(source, link)
@ -404,6 +404,7 @@ def move(src, dst):
def chmod(fname, mode):
os.chmod(fname, mode)
def replace_in_file(fname, search, replace):
# fileinput with inplace=1 moves file to tmp and redirects stdio to file
for line in fileinput.input(fname, inplace=1):