예제 #1
0
 def Diff(self, src, dest, rpms, no_files, names_only):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     diff.set_args(args)
     return json.dumps(diff.diff())
예제 #2
0
 def Diff(self, src, dest, rpms, no_files, names_only):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     diff.set_args(args)
     return json.dumps(diff.diff())
예제 #3
0
 def Diff(self, first, second):
     diff = Diff()
     args = self.Args()
     args.compares = [first, second]
     args.json = True
     args.no_files = False
     args.names_only = False
     args.rpms = True
     args.verbose = True
     diff.set_args(args)
     return diff.diff()
예제 #4
0
 def Diff(self, first, second):
     diff = Diff()
     args = self.Args()
     args.compares = [first, second]
     args.json = True
     args.no_files = False
     args.names_only = False
     args.rpms = True
     args.verbose = True
     diff.set_args(args)
     return diff.diff()
예제 #5
0
파일: atomic_dbus.py 프로젝트: voor/atomic
 def Diff(self, src, dest, rpms, no_files, names_only, diff_keywords, metadata):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     args.keywords = diff_keywords
     args.metadata = metadata
     diff.set_args(args)
     return json.dumps(diff.diff())