[packages/pynapi] - rel 3; exception with some error
arekm
arekm at pld-linux.org
Thu Mar 12 23:22:38 CET 2015
commit f4966991dbd7245aef3af1908ffa821ca65f6e07
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Mar 12 23:22:32 2015 +0100
- rel 3; exception with some error
pynapi.py | 2 +-
pynapi.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pynapi.spec b/pynapi.spec
index 6092d23..e34e2a2 100644
--- a/pynapi.spec
+++ b/pynapi.spec
@@ -2,7 +2,7 @@ Summary: pynapi - Movie Subtitle Downloader
Summary(pl.UTF-8): pynapi - narzędzie do ściągania napisów do filmów
Name: pynapi
Version: 0.20
-Release: 2
+Release: 3
License: GPL v3+
Group: Applications/Multimedia
Source0: pynapi.py
diff --git a/pynapi.py b/pynapi.py
index ac17e56..b754f86 100644
--- a/pynapi.py
+++ b/pynapi.py
@@ -160,7 +160,7 @@ def get_cover(digest):
return (cover, extension)
def get_subtitle_napisy24(filename, digest=False, lang="pl"):
- raise StandardError
+ raise Exception('Subtitle NOT FOUND')
url = "http://napisy24.pl/run/CheckSubAgent.php"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pynapi.git/commitdiff/f4966991dbd7245aef3af1908ffa821ca65f6e07
More information about the pld-cvs-commit
mailing list