From deea82673be84ce1db99add6a9fc507ec1201b70 Mon Sep 17 00:00:00 2001 From: hyades Date: Thu, 25 Jul 2013 18:33:45 +0530 Subject: [PATCH] pylint --- python-api/gstswitch/Makefile | 0 python-api/gstswitch/server.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 python-api/gstswitch/Makefile diff --git a/python-api/gstswitch/Makefile b/python-api/gstswitch/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/python-api/gstswitch/server.py b/python-api/gstswitch/server.py index 32e0182..0bb08aa 100644 --- a/python-api/gstswitch/server.py +++ b/python-api/gstswitch/server.py @@ -183,8 +183,8 @@ def _start_process(self, cmd): shell=False) print cmd return process - except OSError as e: - if e.errno == ENOENT: + except OSError as error: + if error.errno == ENOENT: raise PathError("Cannot find gst-switch-srv at path:" " '{0}'".format(self.path)) else: