remove some debugging messages
authorIan Beckwith <ianb@erislabs.net>
Mon, 18 Oct 2010 07:34:25 +0000 (08:34 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 18 Oct 2010 07:34:25 +0000 (08:34 +0100)
lib/ID3FS/Path.pm
lib/ID3FS/Path/Node.pm

index 4947256..aa2e62e 100644 (file)
@@ -352,13 +352,8 @@ sub parse
     $self->{tagtree}=$self->elements_to_tree(\@elements);
     if($self->{tagtree})
     {
-       my ($conditions, @joins)=$self->{tagtree}->to_sql();
+#      my ($conditions, @joins)=$self->{tagtree}->to_sql();
 #      print "CONDITIONS(", scalar(@joins), "): ", $conditions, "\n";
-#      print "TREE: ",  $self->{tagtree}->print(), "\n";
-#      print("SQL CONDITION(", scalar(@{$self->{joins}}), "): ",
-#            $self->{sqlconditions}, "\n");
-#      use Data::Dumper;
-#      print Dumper $self->{tagtree};
     }
 }
 
@@ -724,8 +719,6 @@ sub tags_subselect
     }
     my $tree=$self->{tagtree};
     print "UNDEF!!\n" unless($self->{tagtree});
-    use Data::Dumper;
-    print Dumper $tree;
     my $parent=$self->trailing_tag_parent();
 
 #    print "ELEMENTS: ", join('/', map { $_->{name}; } @{$self->{elements}}), "\n";
@@ -852,14 +845,14 @@ sub filter
     my @outdirs=();
     for my $dir (@dirs)
     {
-       print "\nFILTER (",$self->state(), "): $base / $dir\n";
+#      print "\nFILTER (",$self->state(), "): $base / $dir\n";
        if($self->empty("$base/$dir"))
        {
-           print "empty: $base / $dir\n";
+#          print "empty: $base / $dir\n";
        }
        else
        {
-           print "non-empty, accepting: $base / $dir\n";
+#          print "non-empty, accepting: $base / $dir\n";
            push(@outdirs, $dir);
        }
     }
index 377e8dd..681a66c 100644 (file)
@@ -154,7 +154,6 @@ sub used_tags
        my @used=();
        push(@used, $self->left()->used_tags())  if($self->left());
        push(@used, $self->right()->used_tags()) if($self->right());
-       print "BOOL: ", $self->name(), join(', ', grep { defined; } @used), "\n";
        return(grep { defined; } @used);
     }
     elsif($self->parents_id())