Skip to content

Commit 31b7016

Browse files
committed
remove main
1 parent d85920a commit 31b7016

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

rt_factory/rt_factory.py

-9
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,3 @@ def set_authentication_api_key(self, the_key):
207207
the_key (str): The users Artifactory API key.
208208
"""
209209
self.api_key_header = {'X-JFrog-Art-Api':the_key}
210-
211-
if __name__ == "__main__":
212-
arti = ArtifactoryApi()
213-
download_url = arti.get_link_to_last_modified('bu-act-fw-snapshot', 'FIRMULAN2AAMLX')
214-
arti.download_file(download_url, 'tst1.hex')
215-
216-
arti.set_authentication_api_key(os.environ.get('ARTIFACTORY_API_KEY', ''))
217-
download_url = arti.get_link_to_last_version('bu-act-fw-snapshot', 'FIRMULAN2AAMLX')
218-
arti.download_file(download_url, 'tst2.hex')

0 commit comments

Comments
 (0)