Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d90632f7
authored
Jul 27, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix import shenanigans
parent
88efcb30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
circle/dashboard/views.py
+3
-4
No files found.
circle/dashboard/views.py
View file @
d90632f7
...
...
@@ -21,8 +21,7 @@ from __future__ import unicode_literals, absolute_import
from
collections
import
OrderedDict
from
itertools
import
chain
from
os
import
getenv
from
os.path
import
join
,
normpath
,
dirname
import
os
from
os.path
import
join
,
normpath
,
dirname
,
basename
import
json
import
logging
import
re
...
...
@@ -3193,8 +3192,8 @@ class StoreRemove(LoginRequiredMixin, TemplateView):
if
context
[
'is_dir'
]:
context
[
'directory'
]
=
path
else
:
context
[
'directory'
]
=
os
.
path
.
dirname
(
path
)
context
[
'name'
]
=
os
.
path
.
basename
(
path
)
context
[
'directory'
]
=
dirname
(
path
)
context
[
'name'
]
=
basename
(
path
)
return
context
...
...
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