Skip to content

Commit 934bfd4

Browse files
committed
Fix linting issues
1 parent 6b3435d commit 934bfd4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bin/paper-genmon

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/usr/bin/env python3
22
import sys
33

4-
from ocflib.account.search import user_exists, user_is_group
4+
from ocflib.account.search import user_exists
5+
from ocflib.account.search import user_is_group
56
from ocflib.misc.whoami import current_user
6-
from ocflib.printing.quota import get_connection, get_quota
7+
from ocflib.printing.quota import get_connection
8+
from ocflib.printing.quota import get_quota
79

810
IMAGE_PATH = '/opt/share/xsession/icons/paper-stack.png'
911

makeservices/easywp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fi
9191
echo "You admin e-mail will be '$(whoami)@ocf.berkeley.edu', the confirmation e-mail will not be sent to you."
9292
echo "WP-CLI will install wordpress for you. If you wish, enter your desired admin password and press enter; if you want one to be randomly generated for you, press enter."
9393
# Use --prompt so that password is not left in ~/.bash_history
94-
wp core install --admin_user="$adminname" --admin_email="$(whoami)@ocf.berkeley.edu" --skip-email --title=$sitetitle --url="https://www.ocf.berkeley.edu/~$user/" --prompt=admin_password
94+
wp core install --admin_user="$adminname" --admin_email="$(whoami)@ocf.berkeley.edu" --skip-email --title="$sitetitle" --url="https://www.ocf.berkeley.edu/~$user/" --prompt=admin_password
9595
# As we had `set -e`, installation must be complete as otherwise the script will end. If it is incomplete, people will still know as this step is verbose.
9696

9797
echo "Campus web security regulations require us to disable unauthenticated REST API. We will install a WordPress plug-in to do that.

0 commit comments

Comments
 (0)