change set.update to set.add

created a set with `{}` but resulted in a dictionary, making me think about `set` not supporting the `add` method.

Thanks for the correction, @efiop !

Co-Authored-By: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Mr. Outis
2019-07-27 17:44:45 -05:00
committed by GitHub
co-authored by Ruslan Kuprieiev
parent 405dfde23f
commit dc5dd1e443
+1 -1
View File
@@ -260,7 +260,7 @@ class Git(Base):
)
def track_file(self, path):
self.files_to_track.update(set(path))
self.files_to_track.add(path)
def belongs_to_scm(self, path):
basename = os.path.basename(path)