2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-23 07:38:01 +00:00

a few missing 'pass' statements

This commit is contained in:
2026-02-09 15:45:19 +00:00
parent a153905e15
commit b5d20373b0
5 changed files with 9 additions and 6 deletions

View File

@@ -105,11 +105,11 @@ def fix(request, areacode="1626"):
# # print(f"NO {c.unofficial_number}")
# caves_nodir.append(c.unofficial_number)
for key, dir, cave_id, filename, target in to_move:
# for key, dir, cave_id, filename, target in to_move:
# if key == "c":
# print((key, dir, cave_id, filename, target))
# print("")
for key, dir, cave_id, filename, target in to_move:
# for key, dir, cave_id, filename, target in to_move:
# if key == "e":
# print((key, dir, cave_id, filename, target))

View File

@@ -912,7 +912,8 @@ def edit_entrance(request, path="", caveslug=None, entslug=None):
# print(f"ENTRANCE from file: entranceletter = '{ce.entranceletter}'")
except:
# ent only in db not on file. Interesting, let's run with it using whatever we have in the db
# print(f"ENTRANCE NOT read from file: entranceletter = '{ce.entranceletter}'")
pass
# print(f"ENTRANCE NOT read from file: entranceletter = '{ce.entranceletter}'")
entform = EntranceForm(instance=entrance, initial={"identified_login": identified_login, "who_are_you":editor})
if entslug is None:

View File

@@ -91,6 +91,7 @@ def signup(request):
return HttpResponseRedirect("/signupok")
else:
pass
# print(f" # Signup form INVALID\n{pageform.errors} ")
return render(
request, "login/signup.html",

View File

@@ -201,7 +201,7 @@ class SvxForm(forms.Form):
DataIssue.objects.create(parser='survex', message=message)
# print(message)
# print(f"sp = subprocess.run([{settings.CAVERN} --log {froox}], cwd={froogdir}"
f"\n\nstderr:\n\n{str(sp.stderr)}\n\nstdout:{str(sp.stdout)}\n\nreturn code: {str(sp.returncode)}")
# f"\n\nstderr:\n\n{str(sp.stderr)}\n\nstdout:{str(sp.stdout)}\n\nreturn code: {str(sp.returncode)}")
os.chdir(cwd) # Restore working directory

View File

@@ -490,6 +490,7 @@ def walletedit(request, path=None):
for bsf in b:
waldata["survex file"].append(bsf.survexfile.path)
except:
pass
# print(f"--- No wallet {wallet} exists in database")
return waldata
@@ -648,8 +649,8 @@ def walletedit(request, path=None):
elif len(caves) > 1:
pass
# print(
f" - More than one Cave {caves} in this wallet {wallet}. Not managed in this troggle release."
)
# f" - More than one Cave {caves} in this wallet {wallet}. Not managed in this troggle release."
# )
if len(names) == 1:
names = names[0]