projects
/
engit/Iron-Munger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ce84e9d
)
skip damaged posts
Matt S Trout [Wed, 24 Jun 2009 21:12:06 +0000 (22:12 +0100)]
lib/IronMunger/PlaggerLoader.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/IronMunger/PlaggerLoader.pm
b/lib/IronMunger/PlaggerLoader.pm
index
e3ef197
..
33db915
100644
(file)
--- a/
lib/IronMunger/PlaggerLoader.pm
+++ b/
lib/IronMunger/PlaggerLoader.pm
@@
-46,6
+46,7
@@
class IronMunger::PlaggerLoader {
while (my $post_raw = $csv->getline($io)) {
my %post_spec;
@post_spec{qw{url at}} = @{$post_raw}[@col_order{qw{url at}}];
+ next unless $post_spec{url} && $post_spec{at};
push(@post_specs, \%post_spec);
}
return \@post_specs;