summaryrefslogtreecommitdiff
path: root/program/management
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-21 16:02:12 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-03-21 16:02:12 (GMT)
commit191190751e2465406a3c863722e4e9d0c9fae762 (patch)
treeece7fb431dbc01839927753d05a6868aacc9ad31 /program/management
parent9c79e5a97ddd46953a250f25754b77bdec1cff80 (diff)
fixed (error) messages of import commands.
Diffstat (limited to 'program/management')
-rw-r--r--program/management/commands/importnotes.py2
-rw-r--r--program/management/commands/importshows.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/management/commands/importnotes.py b/program/management/commands/importnotes.py
index faf3ea3..da2f66c 100644
--- a/program/management/commands/importnotes.py
+++ b/program/management/commands/importnotes.py
@@ -50,7 +50,7 @@ WHERE n.sendung_id in (SELECT id FROM sendungen WHERE letzter_termin > current_d
try:
note.save()
except:
- print 'could not save note "%s" for show "%s"' % (ntitel, stitel)
+ print 'could not save note "%s" for show "%s" and datum "%s"' % (ntitel, stitel, datum)
else:
counter += 1
except ObjectDoesNotExist:
diff --git a/program/management/commands/importshows.py b/program/management/commands/importshows.py
index a907cca..6efbb65 100644
--- a/program/management/commands/importshows.py
+++ b/program/management/commands/importshows.py
@@ -55,7 +55,7 @@ ORDER BY titel, beginn, ende""")
show.save()
counter += 1
except:
- print 'ERR: sendung "%s" could not be imported' % titel
+ print 'sendung "%s" could not be imported' % titel
else:
for h in hosts:
show.hosts.add(h)