[PATCH 14 of 23 cubicweb V2] [code-style/misc] use continuous strings instead of backslash string

Laurent Peuch cortex at worlddomination.be
Fri Jan 17 14:37:11 CET 2020


# HG changeset patch
# User Laurent Peuch <cortex at worlddomination.be>
# Date 1578394393 -3600
#      Tue Jan 07 11:53:13 2020 +0100
# Node ID 89edb7466b6f6678e69a23908ec07b5e4e5c466e
# Parent  b3174475c703ac4d9c6d297e7c0c7c8c0e64e479
# Available At https://hg.logilab.org/users/lpeuch/cubicweb
#              hg pull https://hg.logilab.org/users/lpeuch/cubicweb -r 89edb7466b6f
[code-style/misc] use continuous strings instead of backslash string

diff --git a/cubicweb/server/serverconfig.py b/cubicweb/server/serverconfig.py
--- a/cubicweb/server/serverconfig.py
+++ b/cubicweb/server/serverconfig.py
@@ -112,8 +112,8 @@ class ServerConfiguration(CubicWebConfig
         ('uid',
          {'type': 'string',
           'default': None,
-          'help': 'unix user, if this option is set, use the specified user to start \
-the repository rather than the user running the command',
+          'help': 'unix user, if this option is set, use the specified user to start '
+                  'the repository rather than the user running the command',
           'group': 'main', 'level': (CubicWebConfiguration.mode == 'installed') and 0 or 1,
           }),
         ('cleanup-session-time',
@@ -136,15 +136,15 @@ the repository rather than the user runn
         ('connections-pool-size',
          {'type': 'int',
           'default': 5,
-          'help': 'max size of the connections pool. Each source supporting multiple \
-connections will have this maximum number of opened connections.',
+          'help': 'max size of the connections pool. Each source supporting multiple '
+                  'connections will have this maximum number of opened connections.',
           'group': 'main', 'level': 3,
           }),
         ('min-connections-pool-size',
          {'type': 'int',
           'default': 3,
-          'help': 'min size of the connections pool. Each source supporting multiple \
-connections will have this minimum number of opened connections.',
+          'help': 'min size of the connections pool. Each source supporting multiple '
+                  'connections will have this minimum number of opened connections.',
           'group': 'main', 'level': 3,
           }),
         ('rql-cache-size',
@@ -160,15 +160,15 @@ connections will have this minimum numbe
           }),
         ('keep-transaction-lifetime',
          {'type': 'int', 'default': 7,
-          'help': 'number of days during which transaction records should be \
-kept (hence undoable).',
+          'help': 'number of days during which transaction records should be '
+                  'kept (hence undoable).',
           'group': 'main', 'level': 3,
           }),
         ('multi-sources-etypes',
          {'type': 'csv', 'default': (),
-          'help': 'defines which entity types from this repository are used \
-by some other instances. You should set this properly for these instances to \
-detect updates / deletions.',
+          'help': 'defines which entity types from this repository are used '
+                  'by some other instances. You should set this properly for these instances to '
+                  'detect updates / deletions.',
           'group': 'main', 'level': 3,
           }),
 
@@ -186,26 +186,26 @@ detect updates / deletions.',
          {'type': 'choice',
           'choices': ('default-dest-addrs', 'users', 'none'),
           'default': 'default-dest-addrs',
-          'help': 'when a notification should be sent with no specific rules \
-to find recipients, recipients will be found according to this mode. Available \
-modes are "default-dest-addrs" (emails specified in the configuration \
-variable with the same name), "users" (every users which has activated \
-account with an email set), "none" (no notification).',
+          'help': 'when a notification should be sent with no specific rules '
+                  'to find recipients, recipients will be found according to this mode. Available '
+                  'modes are "default-dest-addrs" (emails specified in the configuration '
+                  'variable with the same name), "users" (every users which has activated '
+                  'account with an email set), "none" (no notification).',
           'group': 'email', 'level': 2,
           }),
         ('default-dest-addrs',
          {'type': 'csv',
           'default': (),
-          'help': 'comma separated list of email addresses that will be used \
-as default recipient when an email is sent and the notification has no \
-specific recipient rules.',
+          'help': 'comma separated list of email addresses that will be used '
+                  'as default recipient when an email is sent and the notification has no '
+                  'specific recipient rules.',
           'group': 'email', 'level': 2,
           }),
         ('supervising-addrs',
          {'type': 'csv',
           'default': (),
-          'help': 'comma separated list of email addresses that will be \
-notified of every changes.',
+          'help': 'comma separated list of email addresses that will be '
+                  'notified of every changes.',
           'group': 'email', 'level': 2,
           }),
         ('zmq-address-sub',



More information about the cubicweb-devel mailing list