Merge lp:~bellini666/stoq-bzr/remove_stoqlib into lp:stoq-bzr

Proposed by Thiago Bellini
Status: Merged
Merged at revision: 17
Proposed branch: lp:~bellini666/stoq-bzr/remove_stoqlib
Merge into: lp:stoq-bzr
Diff against target: 44 lines (+6/-7)
1 file modified
__init__.py (+6/-7)
To merge this branch: bzr merge lp:~bellini666/stoq-bzr/remove_stoqlib
Reviewer Review Type Date Requested Status
Ronaldo Maia Approve
Review via email: mp+64878@code.launchpad.net

Description of the change

Remove stoqlib as it's now merged on stoq and compile the translation for each project (kiwi, stoqdrivers, stoq) when entering the shell.

To post a comment you must log in.
Revision history for this message
Ronaldo Maia (romaia) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '__init__.py'
2--- __init__.py 2009-08-28 18:24:31 +0000
3+++ __init__.py 2011-06-16 18:15:14 +0000
4@@ -126,11 +126,6 @@
5 'PATH': '$tree/bin'}
6 repo = 'lp:stoq'
7
8- class Stoqlib(BzrProject):
9- name = 'stoqlib'
10- env = {'PYTHONPATH': '$tree'}
11- repo = 'lp:stoqlib'
12-
13 class Stoqdrivers(BzrProject):
14 name = 'stoqdrivers'
15 env = {'PYTHONPATH': '$tree'}
16@@ -144,7 +139,6 @@
17 repo = 'lp:kiwi'
18
19 self.PROJECTS = {
20- 'stoqlib': Stoqlib(),
21 'stoq': Stoq(),
22 'stoqdrivers': Stoqdrivers(),
23 'kiwi': Kiwi(),
24@@ -205,7 +199,7 @@
25 fd.close()
26
27 def list(self):
28- print 'Existing working tress:'
29+ print 'Existing working trees:'
30 for dir in self._get_trees():
31 print ' ', dir
32
33@@ -230,6 +224,11 @@
34
35 env['PS1'] = '[%s] \\u@\\h:\\w\$ ' % bug
36
37+ for project in projects:
38+ os.chdir(os.path.join(tree, project.name))
39+ p = subprocess.Popen(['kiwi-i18n', '-c'], env=env)
40+ p.wait()
41+
42 os.chdir(tree)
43 shell = subprocess.Popen(['bash', '--norc'], env=env)
44 shell.wait()

Subscribers

People subscribed via source and target branches