remove trailing whitespace: :%s/ *$//g

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent 91c1215566
commit 7160637014
  1. 4
      lib/cdist/util/fsproperty.py

@ -77,7 +77,7 @@ class FileList(collections.MutableSequence):
def __getitem__(self, index):
return self.__read()[index]
def __setitem__(self, index, value):
lines = self.__read()
lines[index] = value
@ -134,7 +134,7 @@ class DirectoryDict(collections.MutableMapping):
def __setitem__(self, key, value):
try:
with open(os.path.join(self.path, key), "w") as fd:
fd.write(str(value))
fd.write(str(value))
except EnvironmentError as e:
raise cdist.Error(str(e))

Loading…
Cancel
Save