mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
Change logging to print
Python logging recommends using print instead of logging for ordinary output of command line program. Also changed the test to reflect this.
This commit is contained in:
@@ -50,7 +50,7 @@ class CmdRemoteDefault(CmdRemoteConfig):
|
||||
def run(self):
|
||||
if self.args.name is None and not self.args.unset:
|
||||
name = self.remote_config.get_default(level=self.args.level)
|
||||
logger.info("{}".format(name))
|
||||
print(name)
|
||||
else:
|
||||
self.remote_config.set_default(
|
||||
self.args.name, unset=self.args.unset, level=self.args.level
|
||||
|
||||
Reference in New Issue
Block a user