Skip to content

Commit 0d1738a

Browse files
committed
STY: removed commented code
1 parent cc8b46a commit 0d1738a

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

niceman/interface/diff.py

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -117,49 +117,6 @@ def __call__(prov1, prov2):
117117
print('---')
118118
print('> %s' % package_2.subidentity_string)
119119

120-
# for (dist_type, repo_type) in ((GitDistribution, 'Git repository'),
121-
# (SVNDistribution, 'SVN repository')):
122-
#
123-
# dist_1 = env_1.get_distribution(dist_type)
124-
# if dist_1:
125-
# pkgs_1 = { p._cmp_id: p for p in dist_1.packages }
126-
# else:
127-
# pkgs_1 = {}
128-
# dist_2 = env_2.get_distribution(dist_type)
129-
# if dist_2:
130-
# pkgs_2 = { p._cmp_id: p for p in dist_2.packages }
131-
# else:
132-
# pkgs_2 = {}
133-
#
134-
# pkgs_1_s = set(pkgs_1)
135-
# pkgs_2_s = set(pkgs_2)
136-
#
137-
# pkgs_only_1 = pkgs_1_s - pkgs_2_s
138-
# pkgs_only_2 = pkgs_2_s - pkgs_1_s
139-
#
140-
# if pkgs_only_1 or pkgs_only_2:
141-
# print('%s pkgsitories:' % repo_type)
142-
# if pkgs_only_1:
143-
# for repo_id in pkgs_only_1:
144-
# repo = pkgs_1[repo_id]
145-
# print('< %s (%s)' % (repo.identifier, repo.path))
146-
# if pkgs_only_1 and pkgs_only_2:
147-
# print('---')
148-
# if pkgs_only_2:
149-
# for repo_id in pkgs_only_2:
150-
# repo = pkgs_2[repo_id]
151-
# print('> %s (%s)' % (repo.identifier, repo.path))
152-
#
153-
# for repo_id in pkgs_1_s.intersection(pkgs_2_s):
154-
# repo_1 = pkgs_1[repo_id]
155-
# repo_2 = pkgs_2[repo_id]
156-
# if repo_1.commit == repo_2.commit:
157-
# continue
158-
# print('%s pkgsitory %s:' % (repo_type, repo_id))
159-
# print('< %s (%s)' % (repo_1.commit, repo_1.path))
160-
# print('---')
161-
# print('> %s (%s)' % (repo_2.commit, repo_2.path))
162-
163120
files1 = set(env_1.files)
164121
files2 = set(env_2.files)
165122

0 commit comments

Comments
 (0)