diff options
author | David Robillard <d@drobilla.net> | 2015-02-19 08:06:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-19 08:06:26 +0000 |
commit | 2c930571706f626a1a19726811856bb41b2c20af (patch) | |
tree | aee3a047f0d7fd970074d52836590758a7f9921b /scripts/ingen.py | |
parent | 9739af83e0bab9f7769590f330ee26734ccce08c (diff) | |
download | ingen-2c930571706f626a1a19726811856bb41b2c20af.tar.gz ingen-2c930571706f626a1a19726811856bb41b2c20af.tar.bz2 ingen-2c930571706f626a1a19726811856bb41b2c20af.zip |
Delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5583 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'scripts/ingen.py')
-rw-r--r-- | scripts/ingen.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/ingen.py b/scripts/ingen.py index 8eb67d9d..7f82b799 100644 --- a/scripts/ingen.py +++ b/scripts/ingen.py @@ -166,14 +166,14 @@ class Remote(Interface): raise Error('%s' % klass, cause) raise Error(fmt, cause) - + def send(self, msg): # Send message to server payload = msg if sys.version_info[0] == 3: payload = bytes(msg, 'utf-8') self.sock.send(self.msgencode(msg)) - + # Receive response and parse into a model response_str = self.recv() response_model = rdflib.Graph() @@ -202,7 +202,7 @@ class Remote(Interface): for b in blank_closure: for t in response_model.triples([b, None, None]): response_model.remove(t) - + # Remove triples describing responses from response model for i in response_desc: response_model.remove(i) @@ -216,7 +216,7 @@ class Remote(Interface): a patch:Get ; patch:subject <ingen:/root%s> . ''' % path) - + def put(self, path, body): return self.send(''' [] @@ -266,4 +266,3 @@ class Remote(Interface): a patch:Delete ; patch:subject <ingen:/root%s> . ''' % path) - |