diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-12-22 06:41:36 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-12-22 06:54:48 +1100 |
commit | 72ce5b7726435e16097f605eb432da7e8cc3fdde (patch) | |
tree | 2f3e0693bea54d67f43a315f2cac5bb11cee2bfb | |
parent | When using -b, fetch atoms from the new atom field or flagged attachment. (diff) | |
download | tatt-72ce5b7726435e16097f605eb432da7e8cc3fdde.tar.gz tatt-72ce5b7726435e16097f605eb432da7e8cc3fdde.tar.bz2 tatt-72ce5b7726435e16097f605eb432da7e8cc3fdde.zip |
Avoid traceback when no atoms are found.
-rwxr-xr-x | scripts/tatt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tatt b/scripts/tatt index 417831e..66d91dc 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -163,7 +163,7 @@ if options.bugnum: # joint code for -f and -b ########################## -if not myJob.packageList==None: +if myJob.packageList is not None and len(myJob.packageList) > 0: ## Assigning jobname if options.jobname: myJob.name = options.jobname |