diff options
author | Cecil <knoppmyth@gmail.com> | 2012-09-23 19:31:10 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-09-23 19:31:10 (GMT) |
commit | cafd1e5f46d61c3175d4a3347c65ae79c476c61a (patch) | |
tree | 3b82cfb5c5e646861bb551088229f19bfadf8d3b /abs/core/LinHES-system/myth_status.py | |
parent | 717c1c4f8bd16ddf23688e2b94e529a069f40bc9 (diff) | |
parent | 02ed2d32465e5f074eae2bca648c2b344c7a3044 (diff) | |
download | linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.zip linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.gz linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/LinHES-system/myth_status.py')
-rw-r--r-- | abs/core/LinHES-system/myth_status.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/abs/core/LinHES-system/myth_status.py b/abs/core/LinHES-system/myth_status.py index b4f4375..da43679 100644 --- a/abs/core/LinHES-system/myth_status.py +++ b/abs/core/LinHES-system/myth_status.py @@ -92,14 +92,13 @@ print "" print "Conflicted Recordings:" print "----------------------" a=be.getConflictedRecordings() -try: - if len(a) == 0: - print " No conflicts" - else: - for i in a: - title_chan="%s (%s)" %(i.title, i.channame) - print " %s - %-50s " %(i.starttime,title_chan) -except: +c=0 +for i in a: + title_chan="%s (%s)" %(i.title, i.channame) + print " %s - %-50s " %(i.starttime,title_chan) + c=c+1 + +if c == 0: print " No conflicts" print "" |