Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renew_cert
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Neutrinet
renew_cert
Commits
2af66b21
Commit
2af66b21
authored
Sep 22, 2019
by
HgO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move getpass import to the main function, as it is only needed there
parent
27e0c20d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
renew.py
renew.py
+1
-1
No files found.
renew.py
View file @
2af66b21
#!/usr/bin/python3
from
datetime
import
datetime
from
getpass
import
getpass
import
io
import
json
import
logging
...
...
@@ -147,6 +146,7 @@ def create_csr(email):
def
main
():
import
argparse
from
getpass
import
getpass
parser
=
argparse
.
ArgumentParser
(
description
=
"Renew certificates for the Neutrinet VPN."
)
parser
.
add_argument
(
"login"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment