summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
authorJochen Schmitt <Jochen@herr-schmitt.de>2010-09-16 20:05:53 +0200
committerJesse Keating <jkeating@redhat.com>2010-09-20 13:20:54 -0700
commitdd57b28231771b06b91af41a4cadfd0d133861ca (patch)
tree24755066df46a088b08ef43c1faac2f3d7f3c6b3 /src/fedpkg.py
parenta86aa28ef548579a3d7e2f25df752cba65a1544e (diff)
downloadfedora-packager-dd57b28231771b06b91af41a4cadfd0d133861ca.zip
fedora-packager-dd57b28231771b06b91af41a4cadfd0d133861ca.tar.gz
fedora-packager-dd57b28231771b06b91af41a4cadfd0d133861ca.tar.xz
Move diff function out of the PackageModule class
hello Jesse, because you have wrote, that you want a minimum set of functions in the PackageModule clase, I have move the diff function out of their. Best Regards: Jochen Schmitt
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 8f90364..70ce711 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -485,8 +485,7 @@ def compile(args):
def diff(args):
try:
- mymodule = pyfedpkg.PackageModule(args.path)
- return mymodule.diff(args.cached, args.files)
+ return mymodule.diff(args.path, args.cached, args.files)
except pyfedpkg.FedpkgError, e:
log.error('Could not diff: %s' % e)
sys.exit(1)