diff options
author | David Planella <david.planella@gmail.com> | 2012-05-26 17:03:27 +0200 |
---|---|---|
committer | David Planella <david.planella@gmail.com> | 2012-05-26 17:03:27 +0200 |
commit | 64354f2928855e819dd605149c8494fd48308deb (patch) | |
tree | 425d3b2cc379816c06ff46079ab245ac25d6fdae | |
parent | 0b171c8b1c309f1f67f89b90488c5acec47995c0 (diff) |
Removed unused sys module import, fixed undefined name in DiscoverLocation.set_requirements
-rwxr-xr-x | Geoclue/Base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Geoclue/Base.py b/Geoclue/Base.py index 50e50da..bd727d7 100755 --- a/Geoclue/Base.py +++ b/Geoclue/Base.py @@ -15,7 +15,6 @@ # this program. If not, see <http://www.gnu.org/licenses/>. import os -import sys import math import dbus @@ -154,7 +153,7 @@ class DiscoverLocation: """ self.accuracy = accuracy self.resource = resource - self.client.SetRequirements(accuracy, time, require_updates, allowed_resources) + self.client.SetRequirements(accuracy, time, require_updates, resource) # provider changed methods, not really being used but it's useful to have # them here just in case |