mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
snapshot: Minor styling fixes
- Avoid use of _ in functional steps. - flake8 fixes. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
3 files changed
+13
-14
No files matched your search
@@ -100,10 +100,10 @@ def update_configuration(request, old_status, new_status):
|
||||
if old_status[key] != new_status[key]:
|
||||
if 'limit' in key:
|
||||
return stamp.format('0-{}'.format(new_status[key]))
|
||||
else:
|
||||
return stamp.format(new_status[key])
|
||||
else:
|
||||
return None
|
||||
|
||||
return stamp.format(new_status[key])
|
||||
|
||||
return None
|
||||
|
||||
config = filter(
|
||||
None,
|
||||
|
||||
Reference in new issue
Block a user