Project

General

Profile

Actions

Cleanup #39717

closed

cephfs-shell: Fix flake8 warnings and errors

Added by Varsha Rao almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Tags:
Backport:
nautilus
Reviewed:
Affected Versions:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:

Description

Flake8 generates following warning and errors:
  • E722 do not use bare 'except'
  • E303 too many blank lines
  • W605 invalid escape sequence '\/'
  • F841 local variable 'flag' is assigned to but never used
  • E201 whitespace after '('

Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #40471: nautilus: cephfs-shell: Fix flake8 warnings and errorsResolvedPatrick DonnellyActions
Actions #1

Updated by Varsha Rao almost 5 years ago

  • Assignee set to Varsha Rao
  • Pull request ID set to 28080
Actions #2

Updated by Patrick Donnelly almost 5 years ago

  • Target version set to v15.0.0
  • Start date deleted (05/13/2019)
  • Backport set to nautilus
Actions #3

Updated by Patrick Donnelly almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Patrick Donnelly almost 5 years ago

  • Copied to Backport #40471: nautilus: cephfs-shell: Fix flake8 warnings and errors added
Actions #5

Updated by Nathan Cutler almost 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF