Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
1f2c6efa
Commit
1f2c6efa
authored
Mar 20, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug code
parent
12ed7ba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
trans/management/commands/__init__.py
trans/management/commands/__init__.py
+0
-1
trans/management/commands/rebuild_index.py
trans/management/commands/rebuild_index.py
+0
-1
No files found.
trans/management/commands/__init__.py
View file @
1f2c6efa
...
...
@@ -19,7 +19,6 @@ class UnitCommand(BaseCommand):
base
=
Unit
.
objects
.
none
()
for
arg
in
args
:
parts
=
arg
.
split
(
'/'
)
print
parts
if
len
(
parts
)
==
2
:
prj
,
subprj
=
parts
base
|=
Unit
.
objects
.
filter
(
...
...
trans/management/commands/rebuild_index.py
View file @
1f2c6efa
...
...
@@ -29,7 +29,6 @@ class Command(UnitCommand):
with
trans
.
search
.
get_source_writer
(
buffered
=
False
)
as
writer
:
for
unit
in
base
.
values
(
'checksum'
,
'source'
,
'context'
,
'translation_id'
).
iterator
():
print
unit
Unit
.
objects
.
add_to_source_index
(
unit
[
'checksum'
],
unit
[
'source'
],
...
...
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