summaryrefslogtreecommitdiff
path: root/buildstream/utils.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-28 20:41:08 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-28 23:22:00 +0100
commit3ae5fd05d0b9b97448d40ba64c528f31f83c2915 (patch)
tree935e78b6c82b7a329683d3ef15e995a5c4906b0b /buildstream/utils.py
parentd3c32ca2f7d667c6d0ce5bc21118ef7cbd7cdc0a (diff)
downloadbuildstream-3ae5fd05d0b9b97448d40ba64c528f31f83c2915.tar.gz
Fix E305 warnings
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r--buildstream/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index 943346689..3d8bd62ca 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -645,6 +645,7 @@ def _pretty_size(size, dec_places=0):
psize /= 1024
return "{size:g}{unit}".format(size=round(psize, dec_places), unit=unit)
+
# A sentinel to be used as a default argument for functions that need
# to distinguish between a kwarg set to None and an unset kwarg.
_sentinel = object()