diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-07 10:25:10 +1000 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2014-11-07 10:46:48 -0500 |
commit | 511ea969c88c5ab306a985343a74084cbd9a1afa (patch) | |
tree | 3023ed75295036b9eafe799fc23a8be6568426f6 /python | |
parent | 0b6ef3e05981a3dbaf75cd0a66bc33d7d3b4e469 (diff) |
python: fix a couple of comment claiming we need root
We do, but technically we just need the right permissions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'python')
-rw-r--r-- | python/evemu/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/python/evemu/__init__.py b/python/evemu/__init__.py index d1692bd..531ef81 100644 --- a/python/evemu/__init__.py +++ b/python/evemu/__init__.py @@ -253,7 +253,8 @@ class Device(object): to prop_file. This information can be parsed later when constructing a Device to create a virtual input device with the same properties. - Scripts that use this method need to be run as root. + You need the required permissions to access the device file to + succeed (usually root). """ if not hasattr(prop_file, "read"): raise TypeError("expected file") @@ -284,7 +285,8 @@ class Device(object): through the input device. The event sequence must be in the form created by the record method. - Scripts that use this method need to be run as root. + You need the required permissions to access the device file to + succeed (usually root). """ if not hasattr(events_file, "read"): raise TypeError("expected file") @@ -299,7 +301,8 @@ class Device(object): allowing a virtual input device to emit the exact same event sequence. - Scripts that use this method need to be run as root. + You need the required permissions to access the device file to + succeed (usually root). """ if not hasattr(events_file, "read"): raise TypeError("expected file") |