Skip to content

Commit

Permalink
Make demo app compatible with python3
Browse files Browse the repository at this point in the history
  • Loading branch information
vetal4444 committed Jun 4, 2014
1 parent 62f1d2a commit b3de6a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/anycluster
6 changes: 3 additions & 3 deletions demo/anymap/management/commands/filldemodb.py
Expand Up @@ -18,11 +18,11 @@ def handle(self, markerAmount, *args, **options):

markerAmount = int(markerAmount)

print "creating demo with %s markers" % markerAmount
print ("creating demo with %s markers" % markerAmount)

for x in range(0,markerAmount):

print "%s" % (markerAmount-x)
print ("%s" % (markerAmount-x))

lat = random.uniform(-84,84)
lon = random.uniform(-179,179)
Expand All @@ -43,7 +43,7 @@ def handle(self, markerAmount, *args, **options):

garden.save()

print "done. Remember to index your geometric column with a gist index - and to use btree_gist!"
print ("done. Remember to index your geometric column with a gist index - and to use btree_gist!")



Expand Down

0 comments on commit b3de6a9

Please sign in to comment.