Fix issues found by pylint 2.6.0
pylint 2.6.0 complains:
```
distro_info.py:51:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
distro_info.py:182:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
distro_info.py:248:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
```
Closes: #971094
Signed-off-by: Benjamin Drung <bdrung@debian.org>
Benjamin Drung
3 years ago
47 | 47 | """Distribution data outdated.""" |
48 | 48 | |
49 | 49 | def __init__(self): |
50 | super(DistroDataOutdated, self).__init__( | |
50 | super().__init__( | |
51 | 51 | "Distribution data outdated. " |
52 | 52 | "Please check for an update for distro-info-data. See " |
53 | 53 | "/usr/share/doc/distro-info-data/README.Debian for details.") |
178 | 178 | """provides information about Debian's distributions""" |
179 | 179 | |
180 | 180 | def __init__(self): |
181 | super(DebianDistroInfo, self).__init__("Debian") | |
181 | super().__init__("Debian") | |
182 | 182 | |
183 | 183 | def codename(self, release, date=None, default=None): |
184 | 184 | """Map 'unstable', 'testing', etc. to their codenames.""" |
244 | 244 | """provides information about Ubuntu's distributions""" |
245 | 245 | |
246 | 246 | def __init__(self): |
247 | super(UbuntuDistroInfo, self).__init__("Ubuntu") | |
247 | super().__init__("Ubuntu") | |
248 | 248 | |
249 | 249 | def lts(self, date=None, result="codename"): |
250 | 250 | """Get latest long term support (LTS) Ubuntu distribution based on the |