Skip to content

Commit 3b443b5

Browse files
Merge pull request #1376 from IFRCGo/fix/remove-debugging
remove debugging prints
2 parents cdf65d3 + 033f804 commit 3b443b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

api/management/commands/import_admin2s_csv.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,12 @@ def handle(self, *args, **options):
1717
with open(filename) as csvfile:
1818
reader = csv.DictReader(csvfile)
1919
for row in reader:
20-
print(row)
2120
district_code = row['distr_code']
2221
district = District.objects.get(code=district_code)
23-
print(district.name)
2422
adm2_code = row['GOadm2code']
2523
try:
2624
adm2 = Admin2.objects.get(code=adm2_code)
2725
except:
28-
print('HELLO')
2926
adm2 = Admin2()
3027
adm2.code = adm2_code
3128
adm2.admin1 = district

0 commit comments

Comments
 (0)