Remove trailing slash in mpsd_release input
1 unresolved thread
1 unresolved thread
Compare changes
- Ashwin Kumar Karnad authored
@@ -1260,6 +1260,11 @@ def main():
@@ -1260,6 +1260,11 @@ def main():
@@ -1274,14 +1279,6 @@ def main():
@@ -1274,14 +1279,6 @@ def main():
Perhaps
logging.debug
would be better thanlogging.warning
. But I am not sure here. Let's use this as is, and perhaps reconsider to change tologging.info
orlogging.debug
later. (Basically: if the warning shows up a lot, and there is no danger in having the extra/
at the end.)if we use info, then it gets printed with 100 other stuff and is easy to miss; the idea with the warning was that we tell user that we are using a mpsd_release different than what was asked, it is so that the users are made aware of this rather than the fact that
/
is harmful (which is also no longer the case)But the reason they get the slash is that they may use tab-completion to avoid having to type
dev-23a
. In that case, the error/warning message is frustrating: the trailing slash is not causing any harm, but the user is told off for using tab completion.