mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 05:28:15 +03:00
proton: Force append_forever to be a named argument
And remove redundant default parameter value.
This commit is contained in:
parent
32fe36d9b2
commit
ccb2397f4c
2
proton
2
proton
@ -1023,7 +1023,7 @@ class Session:
|
|||||||
except (OSError, IOError, TypeError, KeyError):
|
except (OSError, IOError, TypeError, KeyError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def setup_logging(self, append_forever=False):
|
def setup_logging(self, *, append_forever):
|
||||||
basedir = self.env.get("PROTON_LOG_DIR", os.environ["HOME"])
|
basedir = self.env.get("PROTON_LOG_DIR", os.environ["HOME"])
|
||||||
|
|
||||||
if append_forever:
|
if append_forever:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user