mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 03:32:15 +01:00
Fix typo.
This commit is contained in:
parent
9f5861a3dd
commit
b2f7b6c5a1
@ -2593,7 +2593,7 @@ def get_default_editor():
|
|||||||
if system == 'Linux':
|
if system == 'Linux':
|
||||||
try:
|
try:
|
||||||
# Python 2.6
|
# Python 2.6
|
||||||
dist = platform.linux_distributionx()[0]
|
dist = platform.linux_distribution()[0]
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
dist = platform.dist()[0]
|
dist = platform.dist()[0]
|
||||||
if dist == 'debian':
|
if dist == 'debian':
|
||||||
@ -2609,7 +2609,7 @@ def get_default_pager():
|
|||||||
if system == 'Linux':
|
if system == 'Linux':
|
||||||
try:
|
try:
|
||||||
# Python 2.6
|
# Python 2.6
|
||||||
dist = platform.linux_distributionx()[0]
|
dist = platform.linux_distribution()[0]
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
dist = platform.dist()[0]
|
dist = platform.dist()[0]
|
||||||
if dist == 'debian':
|
if dist == 'debian':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user