Permalink
Browse files

index fun

  • Loading branch information...
1 parent 1c69542 commit 4f58dfe68897b83f34019ae9568e3ba5c659f691 @pydanny pydanny committed Aug 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 package/management/commands/package_updater.py
@@ -62,7 +62,11 @@ def handle(self, *args, **options):
try:
print(text.splitlines()[index-1154])
except UnicodeDecodeError, e:
- print('Stupid unicode error on {0}'.format(index))
+ print('Stupid UnicodeDecodeError error on {0}'.format(package.pk))
+ except UnicodeEncodeError, e:
+ print('Stupid UnicodeEncodeError error on {0}'.format(package.pk))
+
+
#print >> stdout, "-" * 40
text += "\n"

0 comments on commit 4f58dfe

Please sign in to comment.