diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-29 05:29:15 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-29 05:29:15 +0000 |
commit | 961d091f418f67c7435d085a4d71cc17b78345a9 (patch) | |
tree | 34477bf87fae54bba2309946070a1c0128f050b3 | |
parent | f44770ab64d465c099ca893a0536e467052f9d3b (diff) | |
parent | ebf62ea27dd576e3351b6c2ac3f8f9abc28672e5 (diff) | |
download | obnam2-961d091f418f67c7435d085a4d71cc17b78345a9.tar.gz |
Merge branch 'feature/remove-debug-prints' into 'main'
Remove debug prints
See merge request obnam/obnam!225
-rw-r--r-- | src/cmd/backup.rs | 1 | ||||
-rw-r--r-- | src/passwords.rs | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/backup.rs b/src/cmd/backup.rs index db65da0..7e772b1 100644 --- a/src/cmd/backup.rs +++ b/src/cmd/backup.rs @@ -35,7 +35,6 @@ impl Backup { let major = self.backup_version.or(Some(DEFAULT_SCHEMA_MAJOR)).unwrap(); let schema = schema_version(major)?; - eprintln!("backup: schema: {}", schema); let client = BackupClient::new(config)?; let trust = client diff --git a/src/passwords.rs b/src/passwords.rs index c448087..ea476bf 100644 --- a/src/passwords.rs +++ b/src/passwords.rs @@ -42,8 +42,6 @@ impl Passwords { /// Save passwords to file. pub fn save(&self, filename: &Path) -> Result<(), PasswordError> { - eprintln!("saving passwords to {:?}", filename); - let data = serde_yaml::to_string(&self).map_err(PasswordError::Serialize)?; let mut file = std::fs::File::create(filename) |