diff --git a/mo/csv.py b/mo/csv.py index af6882ded5d7afd5901cb8592291bd66e362fd91..73dcb9ea34fc49d2ae3df6861a84719a09a82cf2 100644 --- a/mo/csv.py +++ b/mo/csv.py @@ -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 diff --git a/mo/rights.py b/mo/rights.py index 6b67b6304f1c777f2e525a3d644120f9b53fc4c8..3304c72c145a8da2824f884fae31a902774714da 100644 --- a/mo/rights.py +++ b/mo/rights.py @@ -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)