From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: py2man/
Date: Wed, 7 Jan 2015 23:39:15 +0000 (UTC) [thread overview]
Message-ID: <1420673738.fa65004a0aa58ae5d6762d7e278b0d130f10b749.dolsen@gentoo> (raw)
commit: fa65004a0aa58ae5d6762d7e278b0d130f10b749
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 7 23:35:38 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 7 23:35:38 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=fa65004a
py2man/manpages.py: Use ensure_dirs from gkeys fileops
For sdist created tarballs, it was not including an empty doc dir.
---
py2man/manpages.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/py2man/manpages.py b/py2man/manpages.py
index 9e75d2e..f060e50 100644
--- a/py2man/manpages.py
+++ b/py2man/manpages.py
@@ -6,6 +6,8 @@ import codecs
import os
from datetime import datetime
+from gkeys.fileops import ensure_dirs
+
from py2man.options import LONG_OPTS, SHORT_OPTS
@@ -30,6 +32,11 @@ class ManPage(object):
self.path = docpath
self.authors = authors
self.date = datetime.strftime(datetime.today(),'%B %d, %Y')
+ self.ensure_docdir()
+
+
+ def ensure_docdir(self):
+ ensure_dirs(self.path)
@staticmethod
next reply other threads:[~2015-01-07 23:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-07 23:39 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-07-07 5:23 [gentoo-commits] proj/gentoo-keys:master commit in: py2man/ Brian Dolbec
2015-01-06 21:45 Brian Dolbec
2015-01-06 21:45 Brian Dolbec
2015-01-06 21:45 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
2015-01-05 23:12 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420673738.fa65004a0aa58ae5d6762d7e278b0d130f10b749.dolsen@gentoo \
--to=dolsen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox