projects
/
mysql2postgres
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f504c
)
fixed outer patch for parsing config
author
Макс Лапшин
<max.lapshin@undev.ru>
Tue, 26 Jan 2010 08:13:25 +0000
(11:13 +0300)
committer
Макс Лапшин
<max.lapshin@undev.ru>
Tue, 26 Jan 2010 08:13:25 +0000
(11:13 +0300)
mysql2psql
patch
|
blob
|
history
diff --git
a/mysql2psql
b/mysql2psql
index
5392739
..
36a32de
100755
(executable)
--- a/
mysql2psql
+++ b/
mysql2psql
@@
-641,16
+641,8
@@
end
-
def parse_tablenames(tables)
- list = Array.new
- tables.each do |table|
- t = table.strip
- if t !~ /^#/
- list.push t
- end
- end
- list
+ tables.map {|table| table.strip}.reject {|t| t =~ /^#/}
end
def read_config(filepath)