Source: Remove reduntant save() call

Source::clear_etags does a save already, so it's not needed to call
it twice.
This commit is contained in:
Jordan Petridis 2018-08-17 09:56:36 +03:00
parent 1e0a919dc7
commit 3abe0803d6
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -175,7 +175,6 @@ impl Source {
debug!("Previous Source: {:#?}", &self);
self.set_uri(url.to_string());
self = self.save()?;
self = self.clear_etags()?;
debug!("Updated Source: {:#?}", &self);