text
stringlengths
78
104k
score
float64
0
0.18
def aggregation_result_extractor(impact_report, component_metadata): """Extracting aggregation result of breakdown from the impact layer. :param impact_report: the impact report that acts as a proxy to fetch all the data that extractor needed :type impact_report: safe.report.impact_report.ImpactRep...
0.00011
def stageContent(self, configFiles, dateTimeFormat=None): """Parses a JSON configuration file to stage content. Args: configFiles (list): A list of JSON files on disk containing configuration data for staging content. dateTimeFormat (str): A valid date formatting...
0.01059
def _initURL(self, org_url, referer_url): """ sets proper URLs for AGOL """ if org_url is not None and org_url != '': if not org_url.startswith('http://') and not org_url.startswith('https://'): org_url = 'https://' + org_url se...
0.015538
def plot_2d(self, X, labels=None, s=20, marker='o', dimensions=(0, 1), ax=None, colors=None, fignum=None, cmap=None, # @UndefinedVariable ** kwargs): """ Plot dimensions `dimensions` with given labels against each other in PC space. Labels can be a...
0.008219
def create_attachment(self, upload_stream, file_name, repository_id, pull_request_id, project=None, **kwargs): """CreateAttachment. [Preview API] Attach a new file to a pull request. :param object upload_stream: Stream to upload :param str file_name: The name of the file. :param ...
0.005093
def start_transmit(self, fd, data=None): """ Cause :meth:`poll` to yield `data` when `fd` is writeable. """ self._wfds[fd] = (data or fd, self._generation) self._update(fd)
0.009434
def encode(self, string): """Encode a_string as per the canonicalisation encoding rules. See the AWS dev reference page 186 (2009-11-30 version). @return: a_string encoded. """ if isinstance(string, unicode): string = string.encode("utf-8") return quote(strin...
0.006024
def calc_offset(self, syllables_spaces: List[str]) -> Dict[int, int]: """ Calculate a dictionary of accent positions from a list of syllables with spaces. :param syllables_spaces: :return: """ line = string_utils.flatten(syllables_spaces) mydict = {} # type: Dict...
0.004532
def _get_LDAP_connection(): """ Return a LDAP connection """ server = ldap3.Server('ldap://' + get_optional_env('EPFL_LDAP_SERVER_FOR_SEARCH')) connection = ldap3.Connection(server) connection.open() return connection, get_optional_env('EPFL_LDAP_BASE_DN_FOR_SEARCH')
0.006757
def perm(A, p): """ Symmetric permutation of a symmetric sparse matrix. :param A: :py:class:`spmatrix` :param p: :py:class:`matrix` or :class:`list` of length `A.size[0]` """ assert isinstance(A,spmatrix), "argument must be a sparse matrix" assert A.size[0] == A.size[1], "A must be ...
0.009259
def unset_key(dotenv_path, key_to_unset, quote_mode="always"): """ Removes a given key from the given .env If the .env path given doesn't exist, fails If the given key doesn't exist in the .env, fails """ if not os.path.exists(dotenv_path): warnings.warn("can't delete from %s - it doesn...
0.002427
def to_bytes(data): """Takes an input str or bytes object and returns an equivalent bytes object. :param data: Input data :type data: str or bytes :returns: Data normalized to bytes :rtype: bytes """ if isinstance(data, six.string_types) and not isinstance(data, bytes): return codec...
0.007557
def tag_instance(instance_id, **tags): """Tag a single ec2 instance.""" logger.debug("Got request to add tags %s to instance %s." % (str(tags), instance_id)) ec2 = boto3.resource('ec2') instance = ec2.Instance(instance_id) # Remove None's from `tags` filtered_tags = {k: v for k...
0.000941
def run_examples(examples): """Run read() on a number of examples, supress output, generate summary. Parameters ---------- examples : list of tuples of three str elements Tuples contain the path and cfg argument to the read function, as well as the cfg argument to the merge function...
0.005294
def duration(self): """ Returns task's current duration in minutes. """ if not self._loaded: return 0 delta = datetime.datetime.now() - self._start_time total_secs = (delta.microseconds + (delta.seconds + delta.days * 24 * 3600) * ...
0.004938
def make_series_url(key): """For internal use. Given a series key, generate a valid URL to the series endpoint for that key. :param string key: the series key :rtype: string""" url = urlparse.urljoin(endpoint.SERIES_ENDPOINT, 'key/') url = urlparse.urljoin(url, urllib.quote(key)) return ur...
0.003115
def lookup_field_class(self, field, obj=None, default=None): """ Looks up any additional class we should include when rendering this field """ css = "" # is there a class specified for this field if field in self.field_config and 'class' in self.field_config[field]: ...
0.006211
def run(self): """Run this section and print out information.""" if ProfileCollection and isinstance(self.mloginfo.logfile, ProfileCollection): print("\n not available for system.profile collections\n") return for version, l...
0.003503
def exec_appcommand_post(self, attribute_list): """ Prepare and execute a HTTP POST call to AppCommand.xml end point. Returns XML ElementTree on success and None on fail. """ # Prepare POST XML body for AppCommand.xml post_root = ET.Element("tx") for attribute i...
0.001328
def compute_nutation(t): """Generate the nutation rotations for Time `t`. If the Julian date is scalar, a simple ``(3, 3)`` matrix is returned; if the date is an array of length ``n``, then an array of matrices is returned with dimensions ``(3, 3, n)``. """ oblm, oblt, eqeq, psi, eps = t._eart...
0.001133
def check_version(url=VERSION_URL): """Returns the version string for the latest SDK.""" for line in get(url): if 'release:' in line: return line.split(':')[-1].strip(' \'"\r\n')
0.004854
def preamble(self, lenient=False): """ Extract the image metadata by reading the initial part of the PNG file up to the start of the ``IDAT`` chunk. All the chunks that precede the ``IDAT`` chunk are read and either processed for metadata or discarded. If the opt...
0.002439
def _apply_color(code, content): """ Apply a color code to text """ normal = u'\x1B[0m' seq = u'\x1B[%sm' % code # Replace any normal sequences with this sequence to support nested colors return seq + (normal + seq).join(content.split(normal)) + normal
0.009677
def add_resource(self, resource, *urls, **kwargs): """Adds a resource to the api. :param resource: the class name of your resource :type resource: :class:`Type[Resource]` :param urls: one or more url routes to match for the resource, standard flask routing rules ap...
0.002075
def post_send_process(context): """ Task to ensure subscription is bumped or converted """ if "error" in context: return context [deserialized_subscription] = serializers.deserialize( "json", context["subscription"] ) subscription = deserialized_subscription.object [mess...
0.000471
def metadata(self): """Retrieves metadata about the object. Returns: An ObjectMetadata instance with information about this object. Raises: Exception if there was an error requesting the object's metadata. """ if self._info is None: try: self._info = self._api.objects_get(...
0.006652
def _erase_vm_info(name): ''' erase the information for a VM the we are destroying. some sdb drivers (such as the SQLite driver we expect to use) do not have a `delete` method, so if the delete fails, we have to replace the with a blank entry. ''' try: # delete the machine record ...
0.000991
def bisect(func, a, b, xtol=1e-12, maxiter=100): """ Finds the root of `func` using the bisection method. Requirements ------------ - func must be continuous function that accepts a single number input and returns a single number - `func(a)` and `func(b)` must have opposite sign Para...
0.000812
def labels2onehot(labels: [List[str], List[List[str]], np.ndarray], classes: [list, np.ndarray]) -> np.ndarray: """ Convert labels to one-hot vectors for multi-class multi-label classification Args: labels: list of samples where each sample is a class or a list of classes which sample belongs with...
0.005081
def _pipeline_needs_fastq(config, data): """Determine if the pipeline can proceed with a BAM file, or needs fastq conversion. """ aligner = config["algorithm"].get("aligner") support_bam = aligner in alignment.metadata.get("support_bam", []) return aligner and not support_bam
0.006757
def find(self, pattern): """ Searches for an image pattern in the given region Throws ``FindFailed`` exception if the image could not be found. Sikuli supports OCR search with a text parameter. This does not (yet). """ findFailedRetry = True while findFailedRetry: ...
0.00438
def _windows_rename(self, tmp_filename): """ Workaround the fact that os.rename raises an OSError on Windows :param tmp_filename: The file to rename """ os.remove(self.input_file) if os.path.isfile(self.input_file) else None os.rename(tmp_filename, self.input_file)
0.0125
def listfiles(data_name): """ List files in a dataset. """ data_source = get_data_object(data_name, use_data_config=False) if not data_source: if 'output' in data_name: floyd_logger.info("Note: You cannot clone the output of a running job. You need to wait for it to finish.") ...
0.003322
def batch_update_reimburse(self, openid, reimburse_status, invoice_list): """ 报销方批量更新发票信息 详情请参考 https://mp.weixin.qq.com/wiki?id=mp1496561749_f7T6D :param openid: 用户的 Open ID :param reimburse_status: 发票报销状态 :param invoice_list: 发票列表 :type invoice_list: li...
0.003401
def query(query, ts, **kwargs): """ Perform *query* on the testsuite *ts*. Note: currently only 'select' queries are supported. Args: query (str): TSQL query string ts (:class:`delphin.itsdb.TestSuite`): testsuite to query over kwargs: keyword arguments passed to the more speci...
0.000952
def listdir(self, url): """Returns a list of the files under the specified path""" (store_name, path) = self._split_url(url) adapter = self._create_adapter(store_name) return [ "adl://{store_name}.azuredatalakestore.net/{path_to_child}".format( store_name=stor...
0.004662
def _setup_tunnel( self): """ *setup ssh tunnel if required* """ from subprocess import Popen, PIPE, STDOUT import pymysql as ms # SETUP TUNNEL IF REQUIRED if "ssh tunnel" in self.settings: # TEST TUNNEL DOES NOT ALREADY EXIST ...
0.001837
def round_sigfigs(x, n=2): """ Rounds the number to the specified significant figures. x can also be a list or array of numbers (in these cases, a numpy array is returned). """ iterable = is_iterable(x) if not iterable: x = [x] # make a copy to be safe x = _n.array(x) # loop o...
0.014423
def on_content_type(handlers, default=None, error='The requested content type does not match any of those allowed'): """Returns a content in a different format based on the clients provided content type, should pass in a dict with the following format: {'[content-type]': action, ......
0.005501
def brpop(self, key, *keys, timeout=0, encoding=_NOTSET): """Remove and get the last element in a list, or block until one is available. :raises TypeError: if timeout is not int :raises ValueError: if timeout is less than 0 """ if not isinstance(timeout, int): ...
0.003578
def approximate_surface(points, size_u, size_v, degree_u, degree_v, **kwargs): """ Surface approximation using least squares method with fixed number of control points. This algorithm interpolates the corner control points and approximates the remaining control points. Please refer to Algorithm A9.7 of The...
0.002465
def custom_gradient(fx, gx, x, fx_gx_manually_stopped=False, name=None): """Embeds a custom gradient into a `Tensor`. This function works by clever application of `stop_gradient`. I.e., observe that: ```none h(x) = stop_gradient(f(x)) + stop_gradient(g(x)) * (x - stop_gradient(x)) ``` is such that `h(x...
0.010188
def dirty_ops(self, instance): ''' Returns a dict of the operations needed to update this object. See :func:`Document.get_dirty_ops` for more details.''' obj_value = instance._values[self._name] if not obj_value.set: return {} if not obj_value.dirty and self.__ty...
0.00303
def _check_for_invalid_keys(fname, kwargs, compat_args): """ Checks whether 'kwargs' contains any keys that are not in 'compat_args' and raises a TypeError if there is one. """ # set(dict) --> set of the dictionary's keys diff = set(kwargs) - set(compat_args) if diff: bad_arg = lis...
0.002004
def play(self, wav=None, data=None, rate=16000, channels=1, width=2, block=True, spectrum=None): """ play wav file or raw audio (string or generator) Args: wav: wav file path data: raw audio data, str or iterator rate: sample rate, only for raw audio ...
0.003244
def assert_optimizer_pickle_matches_for_phase(phase): """ Assert that the previously saved optimizer is equal to the phase's optimizer if a saved optimizer is found. Parameters ---------- phase The phase Raises ------- exc.PipelineException """ path = make_optimizer_pic...
0.004208
def get_definition(self, project, definition_id, revision=None, min_metrics_time=None, property_filters=None, include_latest_builds=None): """GetDefinition. Gets a definition, optionally at a specific revision. :param str project: Project ID or project name :param int definition_id: The ...
0.006404
def get_area_code(self, ip): ''' Get area_code ''' rec = self.get_all(ip) return rec and rec.area_code
0.015873
def update_settings(self, updates, config=None): '''update client secrets will update the data structure for a particular authentication. This should only be used for a (quasi permanent) token or similar. The secrets file, if found, is updated and saved by default. Parameters ==========...
0.001224
def _identity(table, target_length): """Identity minimisation function.""" if target_length is None or len(table) < target_length: return table raise MinimisationFailedError(target_length, len(table))
0.004545
def calc_steady_state_dist(R): """Calculate the steady state dist of a 4 state markov transition matrix. Parameters ---------- R : ndarray Markov transition matrix Returns ------- p_ss : ndarray Steady state probability distribution """ #Calc steady state d...
0.009488
def _move_tmp_file(self, tmpfilepath, filepath): """Moves tmpfile over file after saving is finished Parameters ---------- filepath: String \tTarget file path for xls file tmpfilepath: String \tTemporary file file path for xls file """ try: ...
0.00396
def loglike(self, y, f): r""" Bernoulli log likelihood. Parameters ---------- y: ndarray array of 0, 1 valued integers of targets f: ndarray latent function from the GLM prior (:math:`\mathbf{f} = \boldsymbol\Phi \mathbf{w}`) ...
0.003284
def element_id_by_label(browser, label): """Return the id of a label's for attribute""" label = XPathSelector(browser, unicode('//label[contains(., "%s")]' % label)) if not label: return False return label.get_attribute('for')
0.003623
def get_all_masters(): """ Returns the json object that represents each of the masters. """ masters = [] for master in __master_zk_nodes_keys(): master_zk_str = get_zk_node_data(master)['str'] masters.append(json.loads(master_zk_str)) return masters
0.003497
def rotatePolygon(polygon, theta, origin=None): """Rotates the given polygon around the origin or if not given it's center of mass polygon: np.array( (x1,y1), (...)) theta: rotation clockwise in RADIAN origin = [x,y] - if not given set to center of gravity returns: None """ if ori...
0.005882
def installed(name, enabled=True): ''' Make sure that we have the given bundle ID or path to command installed in the assistive access panel. name The bundle ID or path to command enable Should assistive access be enabled on this application? ''' ret = {'name': name, ...
0.002151
def Cinv(self): """Inverse of the noise covariance.""" try: return np.linalg.inv(self.c) except np.linalg.linalg.LinAlgError: print('Warning: non-invertible noise covariance matrix c.') return np.eye(self.c.shape[0])
0.007246
def find_mean_vector(*args, **kwargs): """ Returns the mean vector for a set of measurments. By default, this expects the input to be plunges and bearings, but the type of input can be controlled through the ``measurement`` kwarg. Parameters ---------- *args : 2 or 3 sequences of measureme...
0.000513
def write_fasta( init_fasta, info_frags, output=DEFAULT_NEW_GENOME_NAME, junction=False ): """Convert an info_frags.txt file into a fasta file given a reference. Optionally adds junction sequences to reflect the possibly missing base pairs between two newly joined scaffolds. """ init_genome = ...
0.000426
def database_names(self, session=None): """**DEPRECATED**: Get a list of the names of all databases on the connected server. :Parameters: - `session` (optional): a :class:`~pymongo.client_session.ClientSession`. .. versionchanged:: 3.7 Deprecated. Use :...
0.003145
def get_nearest_node(G, point, method='haversine', return_dist=False): """ Return the graph node nearest to some specified (lat, lng) or (y, x) point, and optionally the distance between the node and the point. This function can use either a haversine or euclidean distance calculator. Parameters ...
0.00252
def set_sum_w2(self, w, ix, iy=0, iz=0): """ Sets the true number of entries in the bin weighted by w^2 """ if self.GetSumw2N() == 0: raise RuntimeError( "Attempting to access Sumw2 in histogram " "where weights were not stored") xl = s...
0.00346
def _normal_map_callback(self, msg): """Callback for handling normal maps. """ try: self._cur_normal_map = self._bridge.imgmsg_to_cv2(msg) except: self._cur_normal_map = None
0.013043
def update(self, z): """ Update filter with new measurement `z` Returns ------- x : np.array estimate for this time step (same as self.x) """ self.n += 1 # rename for readability n = self.n dt = self.dt x = self.x K =...
0.00182
def unitResponse(self,band): """This is used internally for :ref:`pysynphot-formula-effstim` calculations.""" sp=band*self.vegaspec total=sp.integrate() return 2.5*math.log10(total)
0.022624
def assign(self, subject): """ Assigns the given subject to the topic """ if not isinstance(subject, (Publisher, Subscriber)): raise TypeError('Assignee has to be Publisher or Subscriber') # check if not already assigned if self._subject is not None: raise Subscr...
0.002433
def bucket( arg, buckets, closed='left', close_extreme=True, include_under=False, include_over=False, ): """ Compute a discrete binning of a numeric array Parameters ---------- arg : numeric array expression buckets : list closed : {'left', 'right'}, default 'left' ...
0.001217
def event_loop(self): """asyncio.BaseEventLoop: the running event loop. This fixture mainly exists to allow for overrides during unit tests. """ if not self._event_loop: self._event_loop = asyncio.get_event_loop() return self._event_loop
0.006873
def from_file(cls, filepath): """Alternative constructor to get Torrent object from file. :param str filepath: :rtype: Torrent """ torrent = cls(Bencode.read_file(filepath)) torrent._filepath = filepath return torrent
0.007299
def _set_member_bridge_domain(self, v, load=False): """ Setter method for member_bridge_domain, mapped from YANG variable /topology_group/member_bridge_domain (container) If this variable is read-only (config: false) in the source YANG file, then _set_member_bridge_domain is considered as a private ...
0.005225
def has_permission(self, method, endpoint, user=None): """Return does the current user can access the resource. Example:: @app.route('/some_url', methods=['GET', 'POST']) @rbac.allow(['anonymous'], ['GET']) def a_view_func(): return Response('Blah Bla...
0.002123
def aggregate(self, pipeline, session=None, **kwargs): """Perform an aggregation using the aggregation framework on this collection. All optional `aggregate command`_ parameters should be passed as keyword arguments to this method. Valid options include, but are not limited to: ...
0.001565
def _make_cloud_datastore_context(app_id, external_app_ids=()): """Creates a new context to connect to a remote Cloud Datastore instance. This should only be used outside of Google App Engine. Args: app_id: The application id to connect to. This differs from the project id as it may have an additional...
0.010884
def xml_encode(string): """ Returns the string with XML-safe special characters. """ string = string.replace("&", "&amp;") string = string.replace("<", "&lt;") string = string.replace(">", "&gt;") string = string.replace("\"","&quot;") string = string.replace(SLASH, "/") return string
0.006309
def pol2cart(theta, rho): """Polar to Cartesian coordinates conversion.""" x = rho * np.cos(theta) y = rho * np.sin(theta) return x, y
0.006667
def register_frontend_media(request, media): """ Add a :class:`~django.forms.Media` class to the current request. This will be rendered by the ``render_plugin_media`` template tag. """ if not hasattr(request, '_fluent_contents_frontend_media'): request._fluent_contents_frontend_media = Media...
0.002597
def send_video(self, chat_id, video, duration=None, caption=None, reply_to_message_id=None, reply_markup=None): """ Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can current...
0.006329
async def _do_tp(self, pip, mount) -> top_types.Point: """ Execute the work of tip probe. This is a separate function so that it can be encapsulated in a context manager that ensures the state of the pipette tip tracking is reset properly. It should not be called outside of :py:...
0.000545
def produce_semiotic_square_explorer(semiotic_square, x_label, y_label, category_name=None, not_category_name=None, neutral_category_na...
0.00315
def plot_bhist(samples, file_type, **plot_args): """ Create line graph plot of histogram data for BBMap 'bhist' output. The 'samples' parameter could be from the bbmap mod_data dictionary: samples = bbmap.MultiqcModule.mod_data[file_type] """ all_x = set() for item in sorted(chain(*[samples[sa...
0.004905
def _encode_files(files, data): """Build the body for a multipart/form-data request. Will successfully encode files when passed as a dict or a list of tuples. Order is retained if data is a list of tuples but arbitrary if parameters are supplied as a dict. The tuples may be 2-tu...
0.002188
def disown(cmd): """Call a system command in the background, disown it and hide it's output.""" subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
0.004386
def set_agent(self, agent): """ Links behaviour with its owner agent Args: agent (spade.agent.Agent): the agent who owns the behaviour """ self.agent = agent self.queue = asyncio.Queue(loop=self.agent.loop) self.presence = agent.presence self.w...
0.005988
def params_as_tensors_for(*objs, convert=True): """ Context manager which changes the representation of parameters and data holders for the specific parameterized object(s). This can also be used to turn off tensor conversion functions wrapped with `params_as_tensors`: ``` @gpflow.params_as...
0.00272
def load_module(self, name): """ Load and return a module If the module is already loaded, the existing module is returned. Otherwise, raises :py:exc:`DisabledIncludeError`. """ # allow reload noop if name in sys.modules: return sys.modules[name] ...
0.006928
def get(self): """ *get the ebook object* **Return:** - ``ebook`` **Usage:** See class docstring for usage """ self.log.debug('starting the ``get`` method') if self.format == "epub": if self.urlOrPath[:4] == "http" or self.u...
0.001773
def last_modified(self): """When conversation was last modified (:class:`datetime.datetime`).""" timestamp = self._conversation.self_conversation_state.sort_timestamp # timestamp can be None for some reason when there is an ongoing video # hangout if timestamp is None: ...
0.005208
def load(self, filename, fv_extern=None): """ Read model stored in the file. :param filename: Path to file with model :param fv_extern: external feature vector function is passed here :return: """ self.modelparams["mdl_stored_file"] = filename if fv_exter...
0.003413
def get_pull_request_query(self, queries, repository_id, project=None): """GetPullRequestQuery. [Preview API] This API is used to find what pull requests are related to a given commit. It can be used to either find the pull request that created a particular merge commit or it can be used to find all pu...
0.004957
def postinit(self, body=None, finalbody=None): """Do some setup after initialisation. :param body: The try-except that the finally is attached to. :type body: list(TryExcept) or None :param finalbody: The contents of the ``finally`` block. :type finalbody: list(NodeNG) or None ...
0.005115
def get_level_nodes(self, level): """! @brief Traverses CF-tree to obtain nodes at the specified level. @param[in] level (uint): CF-tree level from that nodes should be returned. @return (list) List of CF-nodes that are located on the specified level of the CF-tre...
0.022263
def local_error(self, originalValue, calculatedValue): """Calculates the error between the two given values. :param list originalValue: List containing the values of the original data. :param list calculatedValue: List containing the values of the calculated TimeSeries that co...
0.007215
def seed_args(subparsers): """Add command line options for the seed operation""" seed_parser = subparsers.add_parser('seed') secretfile_args(seed_parser) vars_args(seed_parser) seed_parser.add_argument('--mount-only', dest='mount_only', help=...
0.001282
def on_props_activated(self, menu_item): '''显示选中的文件或者当前目录的属性''' tree_paths = self.iconview.get_selected_items() if not tree_paths: dialog = FolderPropertyDialog(self, self.app, self.parent.path) dialog.run() dialog.destroy() else: for tree_...
0.003759
def pre_filter(self): """ Return rTorrent condition to speed up data transfer. """ if self._name in self.PRE_FILTER_FIELDS: if not self._value: return '"not=${}"'.format(self.PRE_FILTER_FIELDS[self._name]) else: val = self._value ...
0.005425
def from_coeff(self, chebcoeff, domain=None, prune=True, vscale=1.): """ Initialise from provided coefficients prune: Whether to prune the negligible coefficients vscale: the scale to use when pruning """ coeffs = np.asarray(chebcoeff) if prune: N = se...
0.003824
def process(self, image_source, collect_dynamic = False, order_color = 0.9995, order_object = 0.999): """! @brief Performs image segmentation. @param[in] image_source (string): Path to image file that should be processed. @param[in] collect_dynamic (bool): If 'True' then wh...
0.018519
def register(self, endpoint, procedure=None, options=None): """Register a procedure for remote calling. Replace :meth:`autobahn.wamp.interface.IApplicationSession.register` """ def proxy_endpoint(*args, **kwargs): return self._callbacks_runner.put(partial(endpoint, *args, **...
0.00939
def write_outro (self, interrupt=False): """Write end of checking message.""" self.writeln() if interrupt: self.writeln(_("The check has been interrupted; results are not complete.")) self.write(_("That's it.") + " ") self.write(_n("%d link", "%d links", ...
0.004625