Skip to content

Commit

Permalink
ceph-disk: fix flake8 errors
Browse files Browse the repository at this point in the history
flake8 3.1.1 surfaces the following issues:

ceph_disk/main.py:173:1: E305 expected 2 blank lines after class or
function definition, found 1
ceph_disk/main.py:5011:1: E305 expected 2 blank lines after class or
function definition, found 1

Fixes: http://tracker.ceph.com/issues/17898

Signed-off-by: Ken Dreyer <[email protected]>
  • Loading branch information
ktdreyer committed Nov 14, 2016
1 parent 6a8aa28 commit 9f3403b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ceph-disk/ceph_disk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def is_dmcrypt(ptype, name):
return True
return False


DEFAULT_FS_TYPE = 'xfs'
SYSFS = '/sys'

Expand Down Expand Up @@ -5141,6 +5142,7 @@ def main_catch(func, args):
def run():
main(sys.argv[1:])


if __name__ == '__main__':
main(sys.argv[1:])
warned_about = {}

0 comments on commit 9f3403b

Please sign in to comment.