Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
cdc87deb
Commit
cdc87deb
authored
Nov 13, 2019
by
Zac Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up imports
parent
06526c2f
Pipeline
#5144
passed with stages
in 2 minutes and 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
go/go/utils.py
go/go/utils.py
+0
-5
No files found.
go/go/utils.py
View file @
cdc87deb
import
requests
import
requests
from
django.conf
import
settings
from
django.conf
import
settings
import
logging
import
sys
import
functools
from
threading
import
Thread
from
threading
import
Thread
logger
=
logging
.
getLogger
(
__name__
)
def
build_msg
(
request
):
def
build_msg
(
request
):
target
=
request
.
POST
[
'target'
]
target
=
request
.
POST
[
'target'
]
short
=
f'go.gmu.edu/
{
request
.
POST
[
"short"
]
}
'
short
=
f'go.gmu.edu/
{
request
.
POST
[
"short"
]
}
'
...
...
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