Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more tips on cleaning non-ascii from master

  • Loading branch information...
commit 2fb02d7dd0b44653999c7d0c6a6f10a48f01b70b 1 parent 2fcc6af
alon authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  master_django/intensity/utility.py
View
3  master_django/intensity/utility.py
@@ -69,13 +69,14 @@ def __init__(self, account=None):
g = str(x.comment)
except UnicodeEncodeError:
print x, "is bad"
-### x.delete()
+ x.delete()
# AssetInfo.objects.filter(location__startswith="base/...") # & fix it
for x in Activity.objects.all():
try:
h = str(x.name)
except UnicodeEncodeError:
print x, "is bad"
+ x.delete()
# Activity.objects.filter(name__startswith="...") # & fix it
'''
def check_ascii(value):
Please sign in to comment.
Something went wrong with that request. Please try again.