Commit graph

17 commits

Author SHA1 Message Date
Коренберг Марк (ноутбук дома)
83f06bfbb8 Fix indentation (spaces vs tabs)
Now, python files use pseudo-tab equal 4 spaces
2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
fb890a5b5e Code cleanups
1. unused "import struct" removed
2. AddressFamily.__len__ is defined, but why in so way? removed.
3. comparison against instancemethod type fixed
2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
c1547d90d7 Flags properties description and implementation fixed
1. Address, Link and Vlan classes affected with same bug
2. Flags property are not designed as set class. Setting to property will
   not replace flags, just add flags to set. So, jist document that, and
   fixed obvious logick.
2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
38fefc5c1b Fixed various str-related logick 2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
b369d22f92 Fix whitespaces at EOL
Make git happy with that
2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
4be1ae2ae2 Introduce Python's absolute_imports
Helps greatly when porting to Python 3
2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
f55ea7ff9d Fix typo in still unused function that generate colored message 2012-06-08 22:26:35 +06:00
Коренберг Марк (ноутбук дома)
1e75bd006b Make syntax highlighters happy
Fix typo in docstring
2012-06-08 22:26:35 +06:00
Коренберг Марк
9d60ef0d59 Removed generated .pyc files from repository 2012-06-08 22:26:34 +06:00
Коренберг Марк (ноутбук дома)
bf54d6d03a Fixed address deletion
1. rtnl_addr_delete require three arguments
2. comment fixed (fixed copy-past from link.py)
2012-06-08 22:26:34 +06:00
Thomas Graf
9c7593cc9b python: Link against nl-3 and nl-route-3 2011-10-26 10:54:10 +02:00
Thomas Graf
23333e5e35 python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
Thomas Graf
20e9797652 use rtnl_link_set/get_type() 2011-07-21 17:52:43 +02:00
Thomas Graf
bf1b5d28c0 removed autogenerated swig interface files from git tree 2011-07-21 17:49:21 +02:00
Thomas Graf
49d29e9c2d ignore python build directory 2011-07-21 16:41:45 +02:00
Thomas Graf
e56eb065b2 Work on libnl-python
Changes too numerous to describe them
2011-06-10 13:55:29 +02:00
Thomas Graf
f443be6e74 python interface to netlink protocols
currently includes experimental support for links, addresses
and some traffic control
2011-05-10 12:17:33 +02:00