diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /app-text/pastebinit/files | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'app-text/pastebinit/files')
-rw-r--r-- | app-text/pastebinit/files/pastebinit-1.5.1-distro.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-text/pastebinit/files/pastebinit-1.5.1-distro.patch b/app-text/pastebinit/files/pastebinit-1.5.1-distro.patch new file mode 100644 index 000000000000..ee7245c03faa --- /dev/null +++ b/app-text/pastebinit/files/pastebinit-1.5.1-distro.patch @@ -0,0 +1,13 @@ +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': |