packages: pynapi/pynapi.py pynapi API usage is now oficially blessed by nap...

arekm arekm at pld-linux.org
Thu Mar 4 14:06:18 CET 2010


Author: arekm                        Date: Thu Mar  4 13:06:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
pynapi API usage is now oficially blessed by napiprojekt admins

---- Files affected:
packages/pynapi:
   pynapi.py (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: packages/pynapi/pynapi.py
diff -u packages/pynapi/pynapi.py:1.39 packages/pynapi/pynapi.py:1.40
--- packages/pynapi/pynapi.py:1.39	Sun Feb 28 21:55:19 2010
+++ packages/pynapi/pynapi.py	Thu Mar  4 14:06:13 2010
@@ -16,7 +16,8 @@
 #  You should have received a copy of the GNU General Public License
 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-
+# napiprojekt.pl API is used with napiproject administration consent
+# (given by Marek <kontakt at napiprojekt.pl> at Wed, 24 Feb 2010 14:43:00 +0100)
 
 import re
 import sys
@@ -106,7 +107,7 @@
     return d.hexdigest()
 
 def get_subtitle(digest, lang="PL"):
-    url = "http://napiprojekt.pl/unit_napisy/dl.php?l=%s&f=%s&t=%s&v=dreambox&kolejka=false&nick=&pass=&napios=%s" % \
+    url = "http://napiprojekt.pl/unit_napisy/dl.php?l=%s&f=%s&t=%s&v=pynapi&kolejka=false&nick=&pass=&napios=%s" % \
         (lang, digest, f(digest), os.name)
     repeat = 3
     sub = None
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pynapi/pynapi.py?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list