bug fix: add default for --ignore
    
        | author | Tony Wang <wwwjfy@gmail.com> | 
    
        | date | Sun, 23 Mar 2014 18:41:13 +0800 | 
    
    
        | parents | 3fdd3d52271e | 
    
        | children | 2bac915ac93d | 
    
        | branches/tags | (none) | 
    
        | files | ffind | 
Changes
    
--- a/ffind	Sun Mar 23 17:38:16 2014 +0800
+++ b/ffind	Sun Mar 23 18:41:13 2014 +0800
@@ -381,7 +381,6 @@
             ignorers.extend(parse_hgignore_file(target))
     return ignorers
 
-
 def parse_ignore_args():
     return [compile_ff_glob(pattern) for pattern in options.ignore]
 
@@ -569,7 +568,7 @@
                  help="don't ignore anything (ALL files can match)")
 
     g.add_option('-I', '--ignore', metavar='PATTERN',
-                 action='append',
+                 action='append', default=[],
                  help="add a pattern to be ignored (can be given multiple times)")
 
     p.add_option_group(g)