Skip to content
Browse files

adding simple diff tool

  • Loading branch information...
1 parent ba7ba57 commit 830a69020531a6c20fc16d3c6fd7deb98c66c7bd @jdobes jdobes committed
Showing with 33 additions and 0 deletions.
  1. +33 −0 rel-eng/zanata/podiff
View
33 rel-eng/zanata/podiff
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+#
+# Copyright (c) 2016 Red Hat, Inc.
+#
+#
+# This software is licensed to you under the GNU General Public License,
+# version 2 (GPLv2). There is NO WARRANTY for this software, express or
+# implied, including the implied warranties of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
+# along with this software; if not, see
+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
+#
+# Red Hat trademarks are not licensed under GPLv2. No permission is
+# granted to use or replicate Red Hat trademarks that are incorporated
+# in this software or its documentation.
+#
+
+
+import sys
+
+from poparser import checkSourceMatch, parseFile
+
+
+if __name__ == '__main__':
+
+ first = parseFile(sys.argv[1])
+ second = parseFile(sys.argv[2])
+
+ if not checkSourceMatch(first, second, None):
+ sys.exit(1)
+
+ sys.exit(0)
+

0 comments on commit 830a690

Please sign in to comment.
Something went wrong with that request. Please try again.