Remove trailing whitespaces in regular file
Change-Id: I46306a96062ccd751e65351a0bf3e5951ae15905
This commit is contained in:
parent
ee86c1d76d
commit
9bf93bace2
@ -2,7 +2,7 @@ import re
|
||||
|
||||
|
||||
class KnownIssuesFinder(object):
|
||||
|
||||
|
||||
def __init__(self):
|
||||
self.count = 0
|
||||
self._pattern = re.compile('# *KNOWN-ISSUE')
|
||||
@ -10,7 +10,7 @@ class KnownIssuesFinder(object):
|
||||
def find_known_issues(self, package):
|
||||
for file in self._find_test_module_files(package):
|
||||
self._count_known_issues(file)
|
||||
|
||||
|
||||
def _find_test_module_files(self, package):
|
||||
for name in dir(package):
|
||||
if name.startswith('test'):
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh -e
|
||||
# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com>
|
||||
# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com>
|
||||
# This initial version of this file was taken from the source tree
|
||||
# of GlusterFS. It was not directly attributed, but is assumed to be
|
||||
# Copyright (c) 2010-2011 Gluster, Inc and release GPLv3
|
||||
|
Loading…
x
Reference in New Issue
Block a user