summaryrefslogtreecommitdiffstats
path: root/pathreport.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathreport.py')
-rw-r--r--pathreport.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pathreport.py b/pathreport.py
index 3d13d7d..698ea8f 100644
--- a/pathreport.py
+++ b/pathreport.py
@@ -1,10 +1,10 @@
#!/usr/bin/python
-from settings import *
+from .settings import *
import sys
import os
import string
import re
-import urlparse
+import urllib.parse
import django
pathsdict={
@@ -52,9 +52,9 @@ sep2="\r\t\t\t\t\t\t\t" # ugh nasty - terminal output only
bycodes = sorted(pathsdict)
for p in bycodes:
- print p, sep , pathsdict[p]
+ print(p, sep , pathsdict[p])
byvals = sorted(pathsdict, key=pathsdict.__getitem__)
for p in byvals:
- print pathsdict[p] , sep2, p
+ print(pathsdict[p] , sep2, p)
\ No newline at end of file