whitespace stuff
This commit is contained in:
parent
ba62af4d2f
commit
fcfc6e798a
@ -6,7 +6,7 @@
|
||||
keys=root
|
||||
|
||||
[logger_root]
|
||||
level=DEBUG
|
||||
level=INFO
|
||||
handlers=hand01
|
||||
formatter=form01
|
||||
|
||||
|
@ -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%'
|
||||
}
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user