diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-19 20:30:41 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-19 20:30:49 +0100 |
commit | c27fd70b5e4c3efe5ad034069108414d36f9bd9e (patch) | |
tree | ec0befb659ebeca4a68c45b052e713fb2ad26f05 /src/native_bus.pyx | |
parent | improve readme (diff) | |
download | python-bus-c27fd70b5e4c3efe5ad034069108414d36f9bd9e.tar.gz python-bus-c27fd70b5e4c3efe5ad034069108414d36f9bd9e.tar.bz2 python-bus-c27fd70b5e4c3efe5ad034069108414d36f9bd9e.tar.xz |
some improvments + license change3.1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | native_bus.pyx (renamed from src/native_bus.pyx) | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/native_bus.pyx b/native_bus.pyx index 861c16f..48504e7 100644 --- a/src/native_bus.pyx +++ b/native_bus.pyx @@ -1,27 +1,5 @@ # -*- python -*- -''' -MIT/X Consortium License - -Copyright © 2015 Mattias Andrée <maandree@member.fsf.org> - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. -''' +# See LICENSE file for copyright and license details. cimport cython @@ -576,4 +554,3 @@ def bus_chmod_wrapped(file : str, mode : int) -> tuple: r = bus_chmod(cfile, <mode_t>mode) e = errno return (r, e) - |