File: grid-packaging-tools-xml.patch

package info (click to toggle)
grid-packaging-tools 3.2globus2-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,816 kB
  • ctags: 1,621
  • sloc: perl: 19,536; sh: 3,047; makefile: 320; exp: 89
file content (16 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ur gpt-3.2.orig/packaging_tools/perl/GPT/V1/XML.pm gpt-3.2/packaging_tools/perl/GPT/V1/XML.pm
--- gpt-3.2.orig/packaging_tools/perl/GPT/V1/XML.pm	2004-05-20 19:42:17.000000000 +0200
+++ gpt-3.2/packaging_tools/perl/GPT/V1/XML.pm	2008-07-02 07:48:13.000000000 +0200
@@ -275,10 +275,10 @@
   my ($self, $tag) = @_;
   local *FILE = *{$self->{'FILE'}};
   
-  print FILE "<$tag->{'name'} ";
+  print FILE "<$tag->{'name'}";
 
   for my $a (sort keys %{$tag->{attributes}}) {
-    print FILE "$a=\"$tag->{attributes}->{$a}\" ";
+    print FILE " $a=\"$tag->{attributes}->{$a}\"";
   }
 
   if (@{$tag->{'contents'}} == 0) {