Merge lp:~numerigraphe/openobject-client/trunk-vim into lp:openobject-client

Proposed by Numérigraphe
Status: Merged
Merged at revision: 2009
Proposed branch: lp:~numerigraphe/openobject-client/trunk-vim
Merge into: lp:openobject-client
Diff against target: 119 lines (+24/-0)
12 files modified
bin/environment_info.py (+2/-0)
bin/tools/user_locale_format.py (+2/-0)
bin/tools/win32.py (+2/-0)
bin/widget/view/form_gtk/button.py (+2/-0)
bin/widget/view/form_gtk/pager.py (+2/-0)
bin/widget/view/form_gtk/progressbar.py (+2/-0)
bin/widget/view/form_gtk/wid_common.py (+2/-0)
bin/widget/view/list.py (+2/-0)
bin/widget_search/filter.py (+2/-0)
msgfmt.py (+2/-0)
mydistutils.py (+2/-0)
setup.py (+2/-0)
To merge this branch: bzr merge lp:~numerigraphe/openobject-client/trunk-vim
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+82985@code.launchpad.net

Description of the change

Adds missing VIM mode lines at the end of python files.
Added with GNU grep and bash :
    for i in $(grep -R --files-without-match "^# vim:" . |grep ".py$" ); do echo -e "\n# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:" >>$i ; done

To post a comment you must log in.
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Merged, same comment as for your MP on addons[1], although this time there was nothing to fix manually in your MP :-)

Thanks!

[1] https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-vim/+merge/82983

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/environment_info.py'
2--- bin/environment_info.py 2010-08-10 11:48:52 +0000
3+++ bin/environment_info.py 2011-11-22 09:11:24 +0000
4@@ -114,3 +114,5 @@
5 sys.exit(1)
6 else:
7 parser.get_with_server_info()
8+
9+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
10
11=== modified file 'bin/tools/user_locale_format.py'
12--- bin/tools/user_locale_format.py 2011-01-31 10:28:17 +0000
13+++ bin/tools/user_locale_format.py 2011-11-22 09:11:24 +0000
14@@ -224,3 +224,5 @@
15 if func == int:
16 type = 'integer'
17 raise ValueError("%r does not represent a valid %s value" % (string,type))
18+
19+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
20
21=== modified file 'bin/tools/win32.py'
22--- bin/tools/win32.py 2010-04-26 14:05:54 +0000
23+++ bin/tools/win32.py 2011-11-22 09:11:24 +0000
24@@ -64,3 +64,5 @@
25 widget_class "*" style "openerp-user-font"
26 ''' % (font_name, font_size)
27 return font_style
28+
29+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
30
31=== modified file 'bin/widget/view/form_gtk/button.py'
32--- bin/widget/view/form_gtk/button.py 2010-12-13 15:45:20 +0000
33+++ bin/widget/view/form_gtk/button.py 2011-11-22 09:11:24 +0000
34@@ -47,3 +47,5 @@
35 _('The content of the widget or ValueError if not valid'))
36
37
38+
39+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
40
41=== modified file 'bin/widget/view/form_gtk/pager.py'
42--- bin/widget/view/form_gtk/pager.py 2011-04-13 10:36:24 +0000
43+++ bin/widget/view/form_gtk/pager.py 2011-11-22 09:11:24 +0000
44@@ -157,3 +157,5 @@
45
46
47
48+
49+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
50
51=== modified file 'bin/widget/view/form_gtk/progressbar.py'
52--- bin/widget/view/form_gtk/progressbar.py 2011-04-20 09:31:42 +0000
53+++ bin/widget/view/form_gtk/progressbar.py 2011-11-22 09:11:24 +0000
54@@ -45,3 +45,5 @@
55 def set_value(self, *args, **argv):
56 pass
57
58+
59+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
60
61=== modified file 'bin/widget/view/form_gtk/wid_common.py'
62--- bin/widget/view/form_gtk/wid_common.py 2011-10-19 08:37:33 +0000
63+++ bin/widget/view/form_gtk/wid_common.py 2011-11-22 09:11:24 +0000
64@@ -70,3 +70,5 @@
65 rpc.session.rpc_exec_auth('/object', 'execute', 'ir.values', 'set', 'default', deps, field, [(model,False)], value, True, False, False, radio.get_active(), True)
66 return True
67 return False
68+
69+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
70
71=== modified file 'bin/widget/view/list.py'
72--- bin/widget/view/list.py 2011-09-22 09:48:53 +0000
73+++ bin/widget/view/list.py 2011-11-22 09:11:24 +0000
74@@ -946,3 +946,5 @@
75 if len(values) < 1:
76 return final_path
77
78+
79+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
80
81=== modified file 'bin/widget_search/filter.py'
82--- bin/widget_search/filter.py 2011-09-22 06:45:44 +0000
83+++ bin/widget_search/filter.py 2011-11-22 09:11:24 +0000
84@@ -79,3 +79,5 @@
85 _('The content of the widget or ValueError if not valid'))
86
87
88+
89+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
90
91=== modified file 'msgfmt.py'
92--- msgfmt.py 2011-05-06 15:22:17 +0000
93+++ msgfmt.py 2011-11-22 09:11:24 +0000
94@@ -204,3 +204,5 @@
95
96 if __name__ == '__main__':
97 main()
98+
99+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
100
101=== modified file 'mydistutils.py'
102--- mydistutils.py 2011-05-06 15:22:17 +0000
103+++ mydistutils.py 2011-11-22 09:11:24 +0000
104@@ -198,3 +198,5 @@
105
106
107 #eof
108+
109+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
110
111=== modified file 'setup.py'
112--- setup.py 2011-11-21 12:18:00 +0000
113+++ setup.py 2011-11-22 09:11:24 +0000
114@@ -243,3 +243,5 @@
115 z.write(os.path.join(absdir, f), os.path.join(zip_dir, f))
116
117 z.close()
118+
119+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: