mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
co-authored by
Ruslan Kuprieiev
parent
405dfde23f
commit
dc5dd1e443
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user