aboutsummaryrefslogtreecommitdiff
path: root/python/mask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/mask.cc')
-rw-r--r--python/mask.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/mask.cc b/python/mask.cc
index 8884cd376..60ef4a597 100644
--- a/python/mask.cc
+++ b/python/mask.cc
@@ -31,11 +31,12 @@ namespace bp = boost::python;
namespace
{
std::shared_ptr<RepositoryMaskInfo> make_repository_mask_info(
- const std::shared_ptr<const Sequence<std::string> > & s, const FSPath & f)
+ const std::shared_ptr<const Sequence<std::string> > & s, const FSPath & f, const std::string & t)
{
return std::make_shared<RepositoryMaskInfo>(make_named_values<RepositoryMaskInfo>(
n::comment() = s,
- n::mask_file() = f
+ n::mask_file() = f,
+ n::token() = t
));
}
}
@@ -300,7 +301,7 @@ void expose_mask()
.def("__init__",
bp::make_constructor(&make_repository_mask_info),
- "__init__(list of string, path_str)"
+ "__init__(list of string, path_str, token_str)"
)
.add_property("mask_file",