Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
Fixed code style1
  • Loading branch information
xaoc7 authored and jdelic committed Aug 13, 2024
1 parent 41c580d commit a14368e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aptly_api/parts/snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def create_from_repo(self, reponame: str, snapshotname: str, description: Option
if description is not None:
body["Description"] = description

resp = self.do_post("api/repos/%s/snapshots" %
quote(reponame), json=body)
resp = self.do_post("api/repos/%s/snapshots" % quote(reponame), json=body)
return self.snapshot_from_response(resp.json())

def create_from_mirror(self, mirrorname: str, snapshotname: str, description: Optional[str] = None) -> Snapshot:
Expand Down

0 comments on commit a14368e

Please sign in to comment.