diff options
author | Benjamin Schubert <contact@benschubert.me> | 2020-03-20 16:19:52 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-05-11 16:27:12 +0000 |
commit | f5e8a54f095f28870d4c483ca56cc1abc01a2229 (patch) | |
tree | dff602ed10db0d5e11e625d60045a7ded826767c /src/buildstream | |
parent | db2039fe2f333bc33342b4168910b7ed0a626bbd (diff) | |
download | buildstream-f5e8a54f095f28870d4c483ca56cc1abc01a2229.tar.gz |
Update all packages requirements
Also fix linting errors coming with new version of pylint
Diffstat (limited to 'src/buildstream')
-rw-r--r-- | src/buildstream/_cas/casdprocessmanager.py | 2 | ||||
-rw-r--r-- | src/buildstream/source.py | 2 | ||||
-rw-r--r-- | src/buildstream/types.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_cas/casdprocessmanager.py b/src/buildstream/_cas/casdprocessmanager.py index 5ba192d1e..9536d9f8d 100644 --- a/src/buildstream/_cas/casdprocessmanager.py +++ b/src/buildstream/_cas/casdprocessmanager.py @@ -251,7 +251,7 @@ class CASDChannel: try: proc = psutil.Process(self._casd_pid) if not proc.is_running(): - raise CASCacheError(f"buildbox-casd process died before connection could be established") + raise CASCacheError("buildbox-casd process died before connection could be established") except psutil.NoSuchProcess: raise CASCacheError("buildbox-casd process died before connection could be established") diff --git a/src/buildstream/source.py b/src/buildstream/source.py index c0744e8e7..7b790cdbb 100644 --- a/src/buildstream/source.py +++ b/src/buildstream/source.py @@ -765,7 +765,7 @@ class Source(Plugin): # SourceErrors should be preserved so that the # plugin can communicate real error cases. raise - except Exception as err: # pylint: broad-except + except Exception as err: # Generic errors point to bugs in the plugin, so # we need to catch them and make sure they do not # cause stacktraces diff --git a/src/buildstream/types.py b/src/buildstream/types.py index 4d7a4c650..3d97fc7b9 100644 --- a/src/buildstream/types.py +++ b/src/buildstream/types.py @@ -223,7 +223,7 @@ class _PipelineSelection(FastEnum): RUN = "run" def __str__(self): - return self.value + return str(self.value) ######################################## |