diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-01-06 14:03:52 -0800 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-01-06 16:56:27 -0800 |
commit | 3eb44a2d4ba388e0b8bb45904c8a7f38889f028a (patch) | |
tree | 0b9ec5090bda3fdfe121b72af0a8e557bd7838bd /src | |
parent | 7b0b6b75ae2e863de485ec2f5163db50b03bfb34 (diff) | |
download | fedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.tar.gz fedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.tar.xz fedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.zip |
Wire up new.
Diffstat (limited to 'src')
-rwxr-xr-x | src/fedpkg.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index c2e68f9..3852cfd 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -126,8 +126,11 @@ def mockbuild(args): log.warning('Not implimented yet, got %s' % args) def new(args): - # not implimented - log.warning('Not implimented yet, got %s' % args) + try: + print(fedpkg.new(args.path)) + except fedpkg.FedpkgError, e: + log.error('Could not get new changes: %s' % e) + sys.exit(1) def new_sources(args): try: |