file_utils

This commit is contained in:
Sanj 2011-05-09 21:25:27 +05:30
parent a4ee86629b
commit 718f6d6f95

View File

@ -9,8 +9,7 @@ def clean_nulls():
if not fil.startswith("/static"): if not fil.startswith("/static"):
print fil print fil
except ValueError: except ValueError:
x.append(f) f.delete()
print len(x)
def clean_relative_links(): def clean_relative_links():
for f in File.objects.all(): for f in File.objects.all():