You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
379 B
14 lines
379 B
Fix DeprecationWarning
|
|
--- a/pastebinit
|
|
+++ b/pastebinit
|
|
@@ -32,8 +32,7 @@
|
|
# Now try to override it with a distributor pastebin
|
|
try:
|
|
import distro
|
|
- release = distro.linux_distribution(
|
|
- full_distribution_name=False)[0].lower()
|
|
+ release = distro.id()
|
|
if release == 'debian':
|
|
defaultPB = "paste.debian.net"
|
|
elif release == 'fedora':
|