summaryrefslogtreecommitdiffstats
path: root/gluster/swift
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/swift')
-rw-r--r--gluster/swift/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gluster/swift/__init__.py b/gluster/swift/__init__.py
index fa360b6..f2c2403 100644
--- a/gluster/swift/__init__.py
+++ b/gluster/swift/__init__.py
@@ -8,8 +8,10 @@ class PkgInfo(object):
self.final = final
def save_config(self, filename):
- """Crates a file with the package configuration
- which can be sourced by a bash script"""
+ """
+ Creates a file with the package configuration which can be sourced by
+ a bash script.
+ """
with open(filename, 'w') as fd:
fd.write("PKG_NAME=%s\n" % self.name)
fd.write("PKG_VERSION=%s\n" % self.canonical_version)