Skip to content

Commit 26e4d2b

Browse files
committed
code indent
1 parent 78f0af4 commit 26e4d2b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ certificates, HTTP Basic authentication etc.
3030

3131
.. code-block:: python
3232
33-
# initialize a client
34-
from aptly_api import Client
35-
aptly = Client("http://aptly-endpoint.test/")
33+
# initialize a client
34+
from aptly_api import Client
35+
aptly = Client("http://aptly-endpoint.test/")
3636
37-
# create a repository
38-
aptly.repos.create("myrepo", comment="a test repo",
39-
default_distribution="mydist",
40-
default_component="main")
37+
# create a repository
38+
aptly.repos.create("myrepo", comment="a test repo",
39+
default_distribution="mydist",
40+
default_component="main")
4141
42-
# upload a package
43-
aptly.files.upload("test_folder", "/tmp/mypkg_1.0_amd64.deb")
42+
# upload a package
43+
aptly.files.upload("test_folder", "/tmp/mypkg_1.0_amd64.deb")
4444
45-
# add the package to the repo
46-
aptly.repos.add_uploaded_file("myrepo", "test_folder")
45+
# add the package to the repo
46+
aptly.repos.add_uploaded_file("myrepo", "test_folder")
4747
4848
4949
License

0 commit comments

Comments
 (0)