We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a42bb commit 38518d1Copy full SHA for 38518d1
git_explode/exploder.py
@@ -3,7 +3,6 @@
3
4
import copy
5
import six
6
-from ostruct import OpenStruct
7
8
from git_deps.detector import DependencyDetector
9
from git_deps.gitutils import GitUtils
@@ -12,6 +11,11 @@
12
11
from git_explode.listener import ExplodeDependencyListener
13
from git_explode.topics import TopicManager
14
+class OpenStruct:
15
+ def __init__(self, data):
16
+ self.__dict__.update(data)
17
+ def __getattr__(self, key):
18
+ return self.__dict__[key] if key in self.__dict__ else None
19
20
class GitExploder(object):
21
"""Explode a linear sequence of git commits into multiple independent
0 commit comments