fix package layout
[edumed.git] / catalogue / management / commands / importlessons.py
index 1d65d18..43823bb 100755 (executable)
@@ -88,7 +88,8 @@ class Command(BaseCommand):
                             # We're in a loop, nothing's being imported - some lesson is really missing.
                             raise e
                     except BaseException, e:
-                        print e
+                        import trackback
+                        trackback.print_exc()
                         files_skipped += 1
 
         # Print results