Show More
@@ -35,7 +35,6 b' py_module_initializer!(rustext, initrust' | |||||
35 | )?; |
|
35 | )?; | |
36 |
|
36 | |||
37 | let dotted_name: String = m.get(py, "__name__")?.extract(py)?; |
|
37 | let dotted_name: String = m.get(py, "__name__")?.extract(py)?; | |
38 | m.add(py, "__package__", "mercurial")?; |
|
|||
39 | m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?; |
|
38 | m.add(py, "ancestor", ancestors::init_module(py, &dotted_name)?)?; | |
40 | m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; |
|
39 | m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?; | |
41 | Ok(()) |
|
40 | Ok(()) |
General Comments 0
You need to be logged in to leave comments.
Login now