summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2008-01-16 11:53:16 -0500
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2008-01-16 11:53:16 -0500
commit6464584e38ccb014f068f8981a2e0e9630293591 (patch)
treef04b9fc4702241551e40f652e46c24396035400c /func
parentd67b29665f9fc047bf2db6a8e63dfa9942eeb27f (diff)
downloadthird_party-func-6464584e38ccb014f068f8981a2e0e9630293591.tar.gz
third_party-func-6464584e38ccb014f068f8981a2e0e9630293591.tar.xz
third_party-func-6464584e38ccb014f068f8981a2e0e9630293591.zip
pyflakes/pychecker cleanups
removed unused variables
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/copyfile.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/func/minion/modules/copyfile.py b/func/minion/modules/copyfile.py
index a229620..150af88 100644
--- a/func/minion/modules/copyfile.py
+++ b/func/minion/modules/copyfile.py
@@ -24,7 +24,6 @@ class CopyFile(func_module.FuncModule):
description = "Allows for smart copying of a file."
def _checksum_blob(self, blob):
- CHUNK=2**16
thissum = sha.new()
thissum.update(blob)
return thissum.hexdigest()
@@ -57,7 +56,6 @@ class CopyFile(func_module.FuncModule):
# we should probably verify mode,uid,gid are valid as well
dirpath = os.path.dirname(filepath)
- basepath = os.path.basename(filepath)
if not os.path.exists(dirpath):
os.makedirs(dirpath)