mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
alpy: some more patching, make exmples python scripts work & package them
This commit is contained in:
13
alpy/patches/010-fix-counters.patch
Normal file
13
alpy/patches/010-fix-counters.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: Alpy-0.1.5/_alpymodule.c
|
||||
===================================================================
|
||||
--- Alpy-0.1.5.orig/_alpymodule.c 2012-03-30 01:32:30.846018939 +0200
|
||||
+++ Alpy-0.1.5/_alpymodule.c 2012-03-30 01:32:46.162091430 +0200
|
||||
@@ -1194,7 +1194,7 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
- if(i == -1) {
|
||||
+ if(index == -1) {
|
||||
PyErr_Format(PyExc_NameError, "no such counter: %s", name);
|
||||
PyMem_Free(name);
|
||||
return NULL;
|
||||
Reference in New Issue
Block a user