Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
synnefo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
synnefo
Commits
c9b45a08
Commit
c9b45a08
authored
12 years ago
by
Sofia Papagiannaki
Browse files
Options
Downloads
Patches
Plain Diff
astakos: rename full-cleanup command to cleanup-full
parent
a3f6b22b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snf-astakos-app/astakos/im/management/commands/cleanup-full.py
+2
-2
2 additions, 2 deletions
...stakos-app/astakos/im/management/commands/cleanup-full.py
with
2 additions
and
2 deletions
snf-astakos-app/astakos/im/management/commands/
full-
cleanup.py
→
snf-astakos-app/astakos/im/management/commands/cleanup
-full
.py
+
2
−
2
View file @
c9b45a08
...
@@ -43,11 +43,11 @@ class Command(NoArgsCommand):
...
@@ -43,11 +43,11 @@ class Command(NoArgsCommand):
def
handle_noargs
(
self
,
**
options
):
def
handle_noargs
(
self
,
**
options
):
self
.
stdout
.
write
(
'
Cleanup sessions ...
\n
'
)
self
.
stdout
.
write
(
'
Cleanup sessions ...
\n
'
)
call_command
(
'
cleanup
'
)
call_command
(
'
cleanup
'
)
self
.
stdout
.
write
(
'
Cleanup session catalog ...
\n
'
)
self
.
stdout
.
write
(
'
Cleanup session catalog ...
\n
'
)
engine
=
import_module
(
settings
.
SESSION_ENGINE
)
engine
=
import_module
(
settings
.
SESSION_ENGINE
)
store
=
engine
.
SessionStore
()
store
=
engine
.
SessionStore
()
tbd
=
(
entry
for
entry
in
SessionCatalog
.
objects
.
all
()
\
tbd
=
(
entry
for
entry
in
SessionCatalog
.
objects
.
all
()
\
if
not
store
.
exists
(
entry
.
session_key
))
if
not
store
.
exists
(
entry
.
session_key
))
for
entry
in
tbd
:
for
entry
in
tbd
:
entry
.
delete
()
entry
.
delete
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment