The branch, frodo has been updated
via 537cc02d8aa6a31c0750f8a2c8f59f4500afe7d9 (commit)
from 42c37e69963ec6ad793e9d912d0ca03ef2a35320 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scripts;a=commit;h=537cc02d8aa6a31c0750f8a2c8f59f4500afe7d9
commit 537cc02d8aa6a31c0750f8a2c8f59f4500afe7d9
Author: Martijn Kaijser <[email protected]>
Date: Wed Oct 16 08:22:57 2013 +0200
[script.module.mechanize] 0.2.6
diff --git a/script.module.mechanize/addon.xml
b/script.module.mechanize/addon.xml
index 721b892..dee2177 100644
--- a/script.module.mechanize/addon.xml
+++ b/script.module.mechanize/addon.xml
@@ -1,18 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.mechanize"
- name="Mechanize"
- version="0.2.5"
- provider-name="Tristan Fischer (sphere)">
- <requires>
- <import addon="xbmc.python"
- version="2.0"/>
- </requires>
- <extension point="xbmc.python.module"
- library="lib" />
- <extension point="xbmc.addon.metadata">
- <summary>Stateful programmatic web browsing in Python, after Andy
Lesterâs Perl module WWW::Mechanize.</summary>
- <description>packed for xbmc from
https://github.com/jjlee/mechanize</description>
- <license>BSD</license>
- <platform>all</platform>
- </extension>
+ name="Mechanize"
+ version="0.2.6"
+ provider-name="Tristan Fischer (sphere)">
+ <requires>
+ <import addon="xbmc.python"
+ version="2.1.0"/>
+ </requires>
+ <extension point="xbmc.python.module"
+ library="lib" />
+ <extension point="xbmc.addon.metadata">
+ <summary lang="en">Stateful programmatic web browsing in
Python, after Andy Lesterâs Perl module WWW::Mechanize.</summary>
+ <description lang="en">packed for xbmc from
https://github.com/jjlee/mechanize</description>
+ <disclaimer lang="en">packed for xbmc from
https://github.com/jjlee/mechanize</disclaimer>
+ <forum></forum>
+ <website>http://wwwsearch.sourceforge.net/mechanize/</website>
+ <license>BSD</license>
+ <platform>all</platform>
+ <source>https://github.com/jjlee/mechanize</source>
+ </extension>
</addon>
diff --git a/script.module.mechanize/lib/mechanize/_util.py
b/script.module.mechanize/lib/mechanize/_util.py
index 0a5ebb1..3a2ccbc 100644
--- a/script.module.mechanize/lib/mechanize/_util.py
+++ b/script.module.mechanize/lib/mechanize/_util.py
@@ -30,6 +30,14 @@ def reset_deprecations():
warnings.filterwarnings("default", category=DeprecationWarning)
+def read_file(filename):
+ fh = open(filename)
+ try:
+ return fh.read()
+ finally:
+ fh.close()
+
+
def write_file(filename, data):
f = open(filename, "wb")
try:
diff --git a/script.module.mechanize/lib/mechanize/_version.py
b/script.module.mechanize/lib/mechanize/_version.py
index ab5b07b..020c113 100644
--- a/script.module.mechanize/lib/mechanize/_version.py
+++ b/script.module.mechanize/lib/mechanize/_version.py
@@ -1,2 +1,2 @@
-"0.2.5"
-__version__ = (0, 2, 5, None, None)
+"0.2.6"
+__version__ = (0, 2, 6, None, None)
-----------------------------------------------------------------------
Summary of changes:
script.module.mechanize/addon.xml | 34 +++++++++++---------
script.module.mechanize/lib/mechanize/_util.py | 8 +++++
script.module.mechanize/lib/mechanize/_version.py | 4 +-
3 files changed, 29 insertions(+), 17 deletions(-)
hooks/post-receive
--
Scripts
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons