Skip to content

Commit

Permalink
Remove extra empty lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
marxin committed Mar 7, 2022
1 parent cd03139 commit b749f3a
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion rpmlint/checks/FilesCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ def script_interpreter(chunk):


class FilesCheck(AbstractCheck):

man_regex = re.compile(r'/man(?:\d[px]?|n)/')
info_regex = re.compile(r'(/usr/share|/usr)/info/')

Expand Down
1 change: 0 additions & 1 deletion rpmlint/checks/InitScriptCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def substitute_shell_vars(val, script):


class InitScriptCheck(AbstractCheck):

def __init__(self, config, output):
super().__init__(config, output)
self.use_deflevels = self.config.configuration['UseDefaultRunlevels']
Expand Down
1 change: 0 additions & 1 deletion rpmlint/checks/MenuCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@


class MenuCheck(AbstractCheck):

def __init__(self, config, output):
super().__init__(config, output)
self.valid_sections = self.config.configuration['ValidMenuSections']
Expand Down
1 change: 0 additions & 1 deletion rpmlint/checks/PostCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def check_syntax_script(prog, commandline, script):


class PostCheck(AbstractCheck):

def __init__(self, config, output):
super().__init__(config, output)
self.valid_shells = config.configuration['ValidShells']
Expand Down
1 change: 0 additions & 1 deletion rpmlint/checks/TagsCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@


class TagsCheck(AbstractCheck):

def __init__(self, config, output):
super().__init__(config, output)
self.valid_groups = config.configuration['ValidGroups']
Expand Down
2 changes: 0 additions & 2 deletions rpmlint/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ def get_magic(path):
# classes representing package

class AbstractPkg(object):

def cleanup(self):
pass

Expand All @@ -394,7 +393,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):


class Pkg(AbstractPkg):

_magic_from_compressed_re = re.compile(r'\([^)]+\s+compressed\s+data\b')

def __init__(self, filename, dirname, header=None, is_source=False, extracted=False, verbose=False):
Expand Down
1 change: 0 additions & 1 deletion rpmlint/pkgfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


class PkgFile(object):

__slots__ = ['name', 'path', 'flags', 'mode', 'user', 'group', 'linkto',
'size', 'md5', 'mtime', 'rdev', 'inode', 'requires', 'provides',
'lang', 'magic', 'filecaps']
Expand Down

0 comments on commit b749f3a

Please sign in to comment.