Skip to content

Commit

Permalink
Update create_repository docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
danixeee authored and renatav committed Oct 9, 2019
1 parent a072d40 commit 864f944
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 88
max-complexity = 18
max-complexity = 20
select = B,C,E,F,W,T4,B9
15 changes: 8 additions & 7 deletions taf/developer_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
import_rsa_privatekey_from_file,
import_rsa_publickey_from_file,
)
from taf.auth_repo import AuthenticationRepo
from taf.constants import DEFAULT_RSA_SIGNATURE_SCHEME
from taf.git import GitRepository
from taf.log import get_logger
from taf.repository_tool import Repository, load_role_key
from taf.utils import get_pin_for
from tuf.keydb import get_key
from tuf.repository_tool import (
METADATA_DIRECTORY_NAME,
Expand All @@ -31,6 +25,13 @@
import_rsakey_from_pem,
)

from taf.auth_repo import AuthenticationRepo
from taf.constants import DEFAULT_RSA_SIGNATURE_SCHEME
from taf.git import GitRepository
from taf.log import get_logger
from taf.repository_tool import Repository, load_role_key
from taf.utils import get_pin_for

logger = get_logger(__name__)

try:
Expand Down Expand Up @@ -139,7 +140,7 @@ def create_repository(
"""
<Purpose>
Create a new authentication repository. Generate initial metadata files.
The initial targets metadata file is empty (does not specify any targets)
The initial targets metadata file is empty (does not specify any targets).
<Arguments>
repo_path:
Authentication repository's location
Expand Down

0 comments on commit 864f944

Please sign in to comment.