Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
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
...
@@ -21,8 +21,7 @@ from __future__ import unicode_literals, absolute_import
from
collections
import
OrderedDict
from
collections
import
OrderedDict
from
itertools
import
chain
from
itertools
import
chain
from
os
import
getenv
from
os
import
getenv
from
os.path
import
join
,
normpath
,
dirname
from
os.path
import
join
,
normpath
,
dirname
,
basename
import
os
import
json
import
json
import
logging
import
logging
import
re
import
re
...
@@ -3193,8 +3192,8 @@ class StoreRemove(LoginRequiredMixin, TemplateView):
...
@@ -3193,8 +3192,8 @@ class StoreRemove(LoginRequiredMixin, TemplateView):
if
context
[
'is_dir'
]:
if
context
[
'is_dir'
]:
context
[
'directory'
]
=
path
context
[
'directory'
]
=
path
else
:
else
:
context
[
'directory'
]
=
os
.
path
.
dirname
(
path
)
context
[
'directory'
]
=
dirname
(
path
)
context
[
'name'
]
=
os
.
path
.
basename
(
path
)
context
[
'name'
]
=
basename
(
path
)
return
context
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