diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-07-24 11:15:42 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-07-24 11:15:42 +0100 |
commit | fcac0260ec2c040aefa96e069de66dbcb3837085 (patch) | |
tree | 1e6dda035c9713ce762932ff2b78f2c6fe401ca5 | |
parent | 0149dc845fd2ef954f487d50b41af1e5dafabd0b (diff) | |
download | unperish-fcac0260ec2c040aefa96e069de66dbcb3837085.tar.gz |
Make sure --webdirectory is used with publish-docs.
-rwxr-xr-x | unperish | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -235,6 +235,9 @@ class Unperish(cliapp.Application): def cmd_publish_docs(self, args): '''Publish docs related to this project.''' + if not self.settings['web-directory']: + raise cliapp.AppException('Need --web-directory ' + 'for publish-docs.') docs = ['README', 'NEWS'] for doc in docs: if os.path.exists(doc): |