summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
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 0a60b64..187f517 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -431,8 +431,7 @@ def clone(args):
def commit(args):
try:
- mymodule = pyfedpkg.PackageModule(args.path)
- mymodule.commit(args.message, args.file, args.files)
+ pyfedpkg.commit(args.path, args.message, args.file, args.files)
except pyfedpkg.FedpkgError, e:
log.error('Could not commit: %s' % e)
sys.exit(1)