pylint 1.4.3 version fixes
[cascardo/ipsilon.git] / ipsilon / tools / files.py
old mode 100755 (executable)
new mode 100644 (file)
index a18384c..857a2fe
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
 # Copyright (C) 2014  Simo Sorce <simo@redhat.com>
 #
 # see file 'COPYING' for use and warranty information
@@ -41,6 +39,6 @@ def fix_user_dirs(path, user=None, mode=0700):
 def write_from_template(destfile, template, opts):
     with open(template) as f:
         t = Template(f.read())
-    text = t.substitute(**opts)  # pylint: disable=star-args
+    text = t.substitute(**opts)
     with open(destfile, 'w+') as f:
         f.write(text)