From 2c930571706f626a1a19726811856bb41b2c20af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Feb 2015 08:06:26 +0000 Subject: Delete trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5583 a436a847-0d15-0410-975c-d299462d15a1 --- scripts/ingen.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'scripts/ingen.py') 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 . ''' % path) - + def put(self, path, body): return self.send(''' [] @@ -266,4 +266,3 @@ class Remote(Interface): a patch:Delete ; patch:subject . ''' % path) - -- cgit v1.2.1