File: 1001_whitespace.patch

package info (click to toggle)
python-pyrdfa 3.5.2~ds-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 984 kB
  • sloc: python: 5,324; makefile: 2; sh: 2
file content (16 lines) | stat: -rw-r--r-- 707 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: normalize whitespace in source
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2020-08-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pyRdfaExtras/serializers/prettyXMLserializer_3_2.py
+++ b/pyRdfaExtras/serializers/prettyXMLserializer_3_2.py
@@ -216,7 +216,7 @@
                 #Ivan
                 #if subj_as_obj_more_than(1):
                     #writer.attribute(RDF.nodeID, fix(subject))
-	            writer.attribute(RDF.nodeID, fix(subject))
+                    writer.attribute(RDF.nodeID, fix(subject))
             else:
                 writer.attribute(RDF.about, self.relativize(subject))
             if (subject, None, None) in store: