diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-01-06 15:54:24 -0800 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-01-06 16:56:27 -0800 |
commit | c0efdf758e3a96bf80e9711e12dd829763fca4fb (patch) | |
tree | 8b97d26ec4f7416af30ca3b23683dce461e3c291 /src | |
parent | a90a54aea984cb212bca6aa8faba802f3593e2a5 (diff) | |
download | fedora-packager-c0efdf758e3a96bf80e9711e12dd829763fca4fb.tar.gz fedora-packager-c0efdf758e3a96bf80e9711e12dd829763fca4fb.tar.xz fedora-packager-c0efdf758e3a96bf80e9711e12dd829763fca4fb.zip |
Wire up clog
Diffstat (limited to 'src')
-rwxr-xr-x | src/fedpkg.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index 3852cfd..3d18a74 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -47,8 +47,12 @@ def clean(args): sys.exit(1) def clog(args): - # not implimented - log.warning('Not implimented yet, got %s' % args) + try: + mymodule = fedpkg.PackageModule(args.path) + return mymodule.clog() + except fedpkg.FedpkgError, e: + log.error('Could not generate clog: %s' % e) + sys.exit(1) def clone(args): if not args.user: |