Skip to content
Snippets Groups Projects
Commit 1eba8913 authored by Martin Mareš's avatar Martin Mareš
Browse files

Odstraněň houf ladicích tisků :)

parent 9fd10fe7
No related branches found
No related tags found
No related merge requests found
......@@ -60,5 +60,4 @@ def read(file: IO, dialect: str, row_class: Type[Row]):
setattr(row, f, x)
rows.append(row)
print(rows)
return rows
......@@ -186,7 +186,6 @@ class Rights:
# We will use get_for but we need to slightly modify its behavior. Can
# set role with * year only if current user has role with * year, thus we
# need to pass year=0 for * year (cat and seq similarly).
print("YYYY", role.role)
self.get_for(
place=role.place,
year=role.year or 0,
......@@ -194,6 +193,4 @@ class Rights:
seq=role.seq or 0,
min_role=role.role
)
print(self.current_place)
print(self.current_rights)
return self.have_right(Right.assign_rights)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment