hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
7761d9fc085293863e7c310cc2cc9d214524ea96 | diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php
index <HASH>..<HASH> 100644
--- a/PHPCI/Builder.php
+++ b/PHPCI/Builder.php
@@ -117,6 +117,16 @@ class Builder
}
/**
+ * Access a variable from the config.yml
+ * @param $key
+ * @return mixed
+ */
+ public function getSystemConfig($key)
... | Adding Builder::getSystemConfig() to provide easy access to config.yml. | dancryer_PHPCI | train |
92ae91c6c7301d534d47e4f20d5939ba8afc736d | diff --git a/stravalib/util/limiter.py b/stravalib/util/limiter.py
index <HASH>..<HASH> 100644
--- a/stravalib/util/limiter.py
+++ b/stravalib/util/limiter.py
@@ -24,6 +24,15 @@ from datetime import datetime, timedelta
from stravalib import exc
+
+def total_seconds(td):
+ """Alternative to datetime.timedelta.to... | time.sleep() expects a float
Also handling case where python < <I> (datetime.timedelta.total_seconds is only available since Python >= <I>) | hozn_stravalib | train |
5c00e8cf9b24c4d5d0a3941a5ae95cd9e5442e27 | diff --git a/library/src/main/java/com/sprylab/android/widget/TextureVideoView.java b/library/src/main/java/com/sprylab/android/widget/TextureVideoView.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/sprylab/android/widget/TextureVideoView.java
+++ b/library/src/main/java/com/sprylab/android/widget/Tex... | Updated to the latest source from Android <I>_r<I> | sprylab_texturevideoview | train |
a729f8daaaa95c6c421c5b85f71c0c3aefcaf3d7 | diff --git a/lib/pages.js b/lib/pages.js
index <HASH>..<HASH> 100644
--- a/lib/pages.js
+++ b/lib/pages.js
@@ -542,6 +542,14 @@ module.exports = function(self) {
});
});
+ // If we match nothing, return nothing. Don't assume
+ // we know what kind of query it was though.
+
+ i... | * Home page can now be req.bestPage, which means snippet index pages should work properly as homepages
* Autocomplete search returns nothing rather than everything if there are no autocomplete-able words in the query | apostrophecms_apostrophe | train |
896ecb3d701fa8f6a9c8b0f0a0d3c7706cf19705 | diff --git a/lib/locomotive/steam/middlewares/helpers.rb b/lib/locomotive/steam/middlewares/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/locomotive/steam/middlewares/helpers.rb
+++ b/lib/locomotive/steam/middlewares/helpers.rb
@@ -18,7 +18,7 @@ module Locomotive::Steam
end
def redirect_to(location, ... | when redirecting, check if mounted_on is not already included in the location | locomotivecms_steam | train |
3370281bb8e390f95fe2fb49b48d413de231f6c4 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -82,7 +82,7 @@ const config = {
rollup: 'npx rollup -c',
lint: 'npx standard',
format:
- 'npx prettier -l --write --single-quote --no-semi "**/*.{html,js,json,md,mjs}" && npx eslint "**/*.{h... | Add yml files to be formatted by prettier | js-cookie_js-cookie | train |
deb27131c096ea483c07c55459cab18facf2ab0d | diff --git a/source/application/models/oxuser.php b/source/application/models/oxuser.php
index <HASH>..<HASH> 100644
--- a/source/application/models/oxuser.php
+++ b/source/application/models/oxuser.php
@@ -697,11 +697,10 @@ class oxUser extends oxBase
* @param int $iLimit how many entries to load
* @param ... | Fix @return comment (precise object type), moving config-object in oxUser::getOrders (cherry picked from commit afcd<I>f) | OXID-eSales_oxideshop_ce | train |
33e1b09b23227f09bd3c607723bc867975224502 | diff --git a/tcpip/network/fragmentation/reassembler.go b/tcpip/network/fragmentation/reassembler.go
index <HASH>..<HASH> 100644
--- a/tcpip/network/fragmentation/reassembler.go
+++ b/tcpip/network/fragmentation/reassembler.go
@@ -90,7 +90,7 @@ func (r *reassembler) process(first, last uint16, more bool, vv *buffer.Vec... | Remove Fatal from logging, cleanup structure.
PiperOrigin-RevId: <I> | google_netstack | train |
8e5737da716ebb930bfbfd2534a3213035be97fd | diff --git a/test/childClient.js b/test/childClient.js
index <HASH>..<HASH> 100644
--- a/test/childClient.js
+++ b/test/childClient.js
@@ -38,7 +38,7 @@ describe('#childClient', () => {
assert.strictEqual(child.prefix, 'preff.prefix');
assert.strictEqual(child.suffix, 'suffix.suff');
assert.s... | Add missing `semicolon` after merge | brightcove_hot-shots | train |
23e1a32cf3d6bb429e6adaef423573529f6275e7 | diff --git a/spec/lib/terraforming/resource/sns_topic_subscription_spec.rb b/spec/lib/terraforming/resource/sns_topic_subscription_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/terraforming/resource/sns_topic_subscription_spec.rb
+++ b/spec/lib/terraforming/resource/sns_topic_subscription_spec.rb
@@ -14,7 +14,7 @@... | tests for commenting of esns email subscription tf | dtan4_terraforming | train |
edb85cc41e209b77e138a8b8bc54bd4d601ba6b0 | diff --git a/src/main/java/water/api/ExportFiles.java b/src/main/java/water/api/ExportFiles.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/api/ExportFiles.java
+++ b/src/main/java/water/api/ExportFiles.java
@@ -34,7 +34,7 @@ public class ExportFiles extends Request2 {
boolean force = false;
public s... | PUB-<I>: Modify the link to ExportFiles to not submit a task, but just issue a query. | h2oai_h2o-2 | train |
ab78f98663afdf882a8840cae45f64dcb23506a3 | diff --git a/lib/client/createApp.js b/lib/client/createApp.js
index <HASH>..<HASH> 100644
--- a/lib/client/createApp.js
+++ b/lib/client/createApp.js
@@ -150,7 +150,9 @@ function createApp(appSettings) {
_createClass(WrapperController, [{
key: 'refreshView',
value: functi... | optimize ctrl.refreshView, supports passing View as argument | Lucifier129_create-app | train |
2db8e6bac8a234ad73e5680d1f3035431b91d3fa | diff --git a/maas/client/utils/typecheck.py b/maas/client/utils/typecheck.py
index <HASH>..<HASH> 100644
--- a/maas/client/utils/typecheck.py
+++ b/maas/client/utils/typecheck.py
@@ -10,6 +10,17 @@ from functools import wraps
import inspect
import typing
+# Some releases of the `typing` module, even within the same... | Pull in some updated parts of the typecheck module from MAAS. | maas_python-libmaas | train |
aa31a2551ab0f0e21389580e8ac070fde8b0465a | diff --git a/lib/mollie/api/object/issuer.rb b/lib/mollie/api/object/issuer.rb
index <HASH>..<HASH> 100644
--- a/lib/mollie/api/object/issuer.rb
+++ b/lib/mollie/api/object/issuer.rb
@@ -2,7 +2,7 @@ module Mollie
module API
module Object
class Issuer < Base
- attr_accessor :id, :name, :method
+ ... | Add image and resource accessors to Mollie::API::Object::Issuer | mollie_mollie-api-ruby | train |
7251b520271183386697f05be3d5b8235a4752f9 | diff --git a/stomp/listener.py b/stomp/listener.py
index <HASH>..<HASH> 100644
--- a/stomp/listener.py
+++ b/stomp/listener.py
@@ -225,6 +225,8 @@ class HeartbeatListener(ConnectionListener):
def __update_heartbeat(self):
# Honour any grace that has been already included
+ if self.received_heartb... | guard code if heartbeats are disabled | jasonrbriggs_stomp.py | train |
40fdbea5dff3ab0ff28290f3443e5aaddce6006f | diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index <HASH>..<HASH> 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -50,10 +50,10 @@ def read_gbq(
col_order : list(str), optional
List of BigQuery column names in the desired order for results
DataFrame.
- reauth : boolean, default Fal... | Fix PR<I> docstring errors in sql.py and gbq.py (#<I>) | pandas-dev_pandas | train |
5fb0f5c2508e464b8c9f6f92a1457e4c735fea3a | diff --git a/redisdb/datadog_checks/redisdb/redisdb.py b/redisdb/datadog_checks/redisdb/redisdb.py
index <HASH>..<HASH> 100644
--- a/redisdb/datadog_checks/redisdb/redisdb.py
+++ b/redisdb/datadog_checks/redisdb/redisdb.py
@@ -191,7 +191,12 @@ class Redis(AgentCheck):
latency_ms = round_value((time.time() ... | Handle error in config_get (#<I>)
The CONFIG command can be disabled server side, in which case we'll have
an error querying for maxclients. Let's handle that error and skip the
metrics if it's the case. | DataDog_integrations-core | train |
91d28239ce971ff3ca2b97b3908ef4acc0fc76ba | diff --git a/docs/rest_api.rst b/docs/rest_api.rst
index <HASH>..<HASH> 100644
--- a/docs/rest_api.rst
+++ b/docs/rest_api.rst
@@ -674,6 +674,7 @@ values from related fields, using our *quickhowto* example::
"required": false,
"unique": false,
"type": "Related",
+ ... | [api] [docs] Fix missing new count key on related fields info endpoint | dpgaspar_Flask-AppBuilder | train |
57e74de3705f608d563ad89dd6f7c5cdece453c4 | diff --git a/junction/src/test/java/com/ning/billing/junction/plumbing/billing/TestBlockingCalculator.java b/junction/src/test/java/com/ning/billing/junction/plumbing/billing/TestBlockingCalculator.java
index <HASH>..<HASH> 100644
--- a/junction/src/test/java/com/ning/billing/junction/plumbing/billing/TestBlockingCalcu... | junction: fix testInsertBlockingEvents
The mock object wasn't setup properly. | killbill_killbill | train |
9f4938466675584126be1e0322542421ba56ae76 | diff --git a/lib/userlist/config.rb b/lib/userlist/config.rb
index <HASH>..<HASH> 100644
--- a/lib/userlist/config.rb
+++ b/lib/userlist/config.rb
@@ -33,9 +33,8 @@ module Userlist
end
def method_missing(name, *args, &block)
- name = name.to_s
-
if respond_to_missing?(name)
+ name = name.... | Only convert to string when it's needed | userlistio_userlist-ruby | train |
747e7ba843e85422ac9e9d13eb6fef4e8610abf7 | diff --git a/zappa/zappa.py b/zappa/zappa.py
index <HASH>..<HASH> 100644
--- a/zappa/zappa.py
+++ b/zappa/zappa.py
@@ -344,7 +344,8 @@ class Zappa(object):
return None
return venv
- def contains_python_files_or_subdirs(self, filename, dirs, files):
+ @staticmethod
+ def contains_python_... | Small cleanup: static method and removed unused var | Miserlou_Zappa | train |
9b282f4c64b8a2f71033f2ca9b5130d672ee0af6 | diff --git a/phoebe/frontend/bundle.py b/phoebe/frontend/bundle.py
index <HASH>..<HASH> 100644
--- a/phoebe/frontend/bundle.py
+++ b/phoebe/frontend/bundle.py
@@ -1391,7 +1391,7 @@ class Bundle(Container):
def load_data(self, category, filename, passband=None, columns=None,
- objref=No... | bundle.get_syn now makes smarter assumptions for defaults | phoebe-project_phoebe2 | train |
a2f596199691b0212bc16e31b48c775d2753538d | diff --git a/nagiosplugin.go b/nagiosplugin.go
index <HASH>..<HASH> 100644
--- a/nagiosplugin.go
+++ b/nagiosplugin.go
@@ -5,5 +5,5 @@ compatible monitoring systems.
package nagiosplugin
const (
- Version = "0.0.1"
+ Version = "1.0.0"
) | Major version bump for production-readiness | olorin_nagiosplugin | train |
65a22cbed10ebcd7708870001cbc6f2d3f5263ae | diff --git a/storerunner/etcdstorerunner/etcd_cluster_runner.go b/storerunner/etcdstorerunner/etcd_cluster_runner.go
index <HASH>..<HASH> 100644
--- a/storerunner/etcdstorerunner/etcd_cluster_runner.go
+++ b/storerunner/etcdstorerunner/etcd_cluster_runner.go
@@ -135,8 +135,8 @@ func (etcd *ETCDClusterRunner) start(nuke... | Remove extraneous ] character in runner output prefix | cloudfoundry-attic_storeadapter | train |
6dac81e310cbc297038b92307c83d782e674c463 | diff --git a/src/plugins/notify.js b/src/plugins/notify.js
index <HASH>..<HASH> 100644
--- a/src/plugins/notify.js
+++ b/src/plugins/notify.js
@@ -163,7 +163,6 @@ export default {
if (this.__installed) { return }
this.__installed = true
- console.log('install')
if (!isSSR) {
init.call(this, a... | chore: Addition to previous commit; remove debugging | quasarframework_quasar | train |
1f8bf9640981644b6fed57c8f10bc774f158b9fe | diff --git a/app/src/Bolt/Application.php b/app/src/Bolt/Application.php
index <HASH>..<HASH> 100644
--- a/app/src/Bolt/Application.php
+++ b/app/src/Bolt/Application.php
@@ -12,7 +12,7 @@ class Application extends \Silex\Application
public function __construct(array $values = array())
{
$values['bol... | Bumping version to "<I> alpha" | bolt_bolt | train |
e1dcd689a82cf4b2737ef97ee4ef8dc32304045e | diff --git a/ember_debug/data-debug.js b/ember_debug/data-debug.js
index <HASH>..<HASH> 100644
--- a/ember_debug/data-debug.js
+++ b/ember_debug/data-debug.js
@@ -30,9 +30,12 @@ export default EmberObject.extend(PortMixin, {
if (registry) {
// Ember >= 1.11
return registry.resolve(name);
- } else ... | Fix container.resolve and Ember.View for Ember <I> canary | emberjs_ember-inspector | train |
a20ae38782a50bf20410f0712647b6146c751bea | diff --git a/AnnexRemote.py b/AnnexRemote.py
index <HASH>..<HASH> 100644
--- a/AnnexRemote.py
+++ b/AnnexRemote.py
@@ -13,6 +13,7 @@
from abc import ABC, abstractmethod
+import sys
import string
@@ -350,14 +351,14 @@ class Protocol:
return f"RENAMEEXPORT-SUCCESS {key}"
class Master:
- def _... | Default to stdin and stdout | Lykos153_AnnexRemote | train |
e3fa303825001f7684ba58fe14292555d17a9dc6 | diff --git a/server/webapp/WEB-INF/rails.new/app/assets/javascripts/vsm_renderer.js b/server/webapp/WEB-INF/rails.new/app/assets/javascripts/vsm_renderer.js
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails.new/app/assets/javascripts/vsm_renderer.js
+++ b/server/webapp/WEB-INF/rails.new/app/assets/javascrip... | #<I> - Handle case of plugin not found.
When plugin is removed and server restarted, then the material names of
package materials are not known, since the name is decided based on the
plugin. During VSM rendering, it will try and find the name, the name
will be empty and causes issues, without this check. | gocd_gocd | train |
cbd987bc51e2fc83d583bf6cdcaa60a53ef9abc9 | diff --git a/MailQueue.php b/MailQueue.php
index <HASH>..<HASH> 100644
--- a/MailQueue.php
+++ b/MailQueue.php
@@ -69,6 +69,12 @@ class MailQueue extends Mailer
* @var integer maximum number of attempts to try sending an email out.
*/
public $maxAttempts = 3;
+
+
+ /**
+ * @var boolean Purges messages from q... | Purge sent messages from queue
If autoPurge = true, messages will be purges after a round of sending out messages.
Fixes PR#<I> (option to delete message from queue when sent) | nterms_yii2-mailqueue | train |
1babf3c7a1530c7cd18eb2ed19fdb54f40d4aa90 | diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Controller/Exception... | [FrameworkBundle] added a safeguard for infinite loops on some Windows configurations | symfony_symfony | train |
0968048b62c9cab006dce48df23d442c35748669 | diff --git a/anyconfig/api.py b/anyconfig/api.py
index <HASH>..<HASH> 100644
--- a/anyconfig/api.py
+++ b/anyconfig/api.py
@@ -254,7 +254,7 @@ def load(path_specs, ac_parser=None, ac_template=False, ac_context=None,
given paths pattern.
:param path_specs: Configuration file path or paths or its pattern such... | fix: an workaround to make a string as a raw one | ssato_python-anyconfig | train |
56126cd6e42cee734470059e5fe4b7e068be3de6 | diff --git a/pkg/events/emitter.go b/pkg/events/emitter.go
index <HASH>..<HASH> 100644
--- a/pkg/events/emitter.go
+++ b/pkg/events/emitter.go
@@ -2,6 +2,7 @@ package events
import (
"bytes"
+ "fmt"
"io/ioutil"
"log"
"net/http"
@@ -219,10 +220,10 @@ func NewJSONLogEmitter() *JSONLogEmitter {
}
// JSONLog... | use fmt package for json logger because ts in json | compose_transporter | train |
c4779853af94416af819fb291a6a423af6c828df | diff --git a/bcbio/bam/counts.py b/bcbio/bam/counts.py
index <HASH>..<HASH> 100644
--- a/bcbio/bam/counts.py
+++ b/bcbio/bam/counts.py
@@ -19,7 +19,7 @@ class NormalizedBam:
if quick:
self._total = 1e6
else:
- self._total = sum(1 for _ in self._bam.fetch())
+ self._t... | Normalize by total mapped reads | bcbio_bcbio-nextgen | train |
7a132f5857c55f63b58f290b1191a9b1d007dd81 | diff --git a/conu/backend/docker/image.py b/conu/backend/docker/image.py
index <HASH>..<HASH> 100644
--- a/conu/backend/docker/image.py
+++ b/conu/backend/docker/image.py
@@ -242,24 +242,36 @@ class DockerImage(Image):
return self
def save_to(self, image):
+ """ Save this image to another DockerI... | Docstrings, PEP8 and few asserts | user-cont_conu | train |
5d48d8956119da7c43d9af13b10ebd35983d195e | diff --git a/src/AbstractPdoObjectType.php b/src/AbstractPdoObjectType.php
index <HASH>..<HASH> 100644
--- a/src/AbstractPdoObjectType.php
+++ b/src/AbstractPdoObjectType.php
@@ -18,14 +18,14 @@ abstract class AbstractPdoObjectType extends ObjectType
}
// TODO: rename to getOneBy
- protected function get... | refactor: misc
- make getAll and getAllBy public
- rename config `type_namespace` to `type_class_namespace`
- rename config `type_path` to `type_class_path` \
- support getBy and getAllBy in fieldresolver
- support stampToIsoDate converter in fieldresolver | linkorb_graphael | train |
cc0abe1b0639cc44a0ed887aedc7f44c4417850e | diff --git a/djangui/conf/project_template/settings/djangui_settings.py b/djangui/conf/project_template/settings/djangui_settings.py
index <HASH>..<HASH> 100644
--- a/djangui/conf/project_template/settings/djangui_settings.py
+++ b/djangui/conf/project_template/settings/djangui_settings.py
@@ -1,104 +1,5 @@
-"""
-Djang... | created django settings are now inherited frmo instead of being ignored | Chris7_django-djangui | train |
7bb0f7b0f6218e813ca1ea9a21d5d549c7b36ab9 | diff --git a/drivers/display/ssd1306.py b/drivers/display/ssd1306.py
index <HASH>..<HASH> 100644
--- a/drivers/display/ssd1306.py
+++ b/drivers/display/ssd1306.py
@@ -1,5 +1,6 @@
# MicroPython SSD1306 OLED driver, I2C and SPI interfaces
+from micropython import const
import time
import framebuf
diff --git a/driv... | drivers: Add "from micropython import const" when const is used.
Following best-practice use of the const feature, to make it compatible
with Python. | micropython_micropython | train |
938d8e7b3c9c8b06c2e9d002ac6ad6df9d6401d7 | diff --git a/vb_suite/indexing.py b/vb_suite/indexing.py
index <HASH>..<HASH> 100644
--- a/vb_suite/indexing.py
+++ b/vb_suite/indexing.py
@@ -226,10 +226,10 @@ series_loc_slice = Benchmark("s.loc[:800000]", setup)
series_loc_list_like = Benchmark("s.loc[[800000]]", setup)
series_loc_array = Benchmark("s.loc[np.arang... | FIX: Fixed typo, which causes checksum duplication issue. | pandas-dev_pandas | train |
a2f747221c68e5d8f44d9e7f5df0e7c9f2ce090b | diff --git a/handshake-state.js b/handshake-state.js
index <HASH>..<HASH> 100644
--- a/handshake-state.js
+++ b/handshake-state.js
@@ -4,10 +4,15 @@ var symmetricState = require('./symmetric-state')
var cipherState = require('./cipher-state')
var dh = require('./dh')
+var PKLEN = dh.PKLEN
+var SKLEN = dh.SKLEN
+
m... | export SKLEN and PKLEN | emilbayes_noise-protocol | train |
9c4ed2ea2961d6c954a3605f7724347bd9289e81 | diff --git a/lxd/storage_ceph.go b/lxd/storage_ceph.go
index <HASH>..<HASH> 100644
--- a/lxd/storage_ceph.go
+++ b/lxd/storage_ceph.go
@@ -1961,6 +1961,7 @@ func (s *storageCeph) ContainerSnapshotStart(c container) (bool, error) {
defer func() {
if !revert {
+ return
}
err := cephRBDVolumeUnmap(s.Clust... | ceph: ContainerSnapshotStart() - fix wrong revert | lxc_lxd | train |
e679e6ba28ab0943eaca3bc92137d234a03f7fbc | diff --git a/cruzdb/__init__.py b/cruzdb/__init__.py
index <HASH>..<HASH> 100644
--- a/cruzdb/__init__.py
+++ b/cruzdb/__init__.py
@@ -180,9 +180,9 @@ class Genome(object):
def sql(self, query):
return self.engine.execute(query)
- def annotate(self, fname, tables):
+ def annotate(self, fname, tabl... | annotate up/dowstream relative to other feature | brentp_cruzdb | train |
731204eb9deb991e9a397cd49d0a261d2a14537c | diff --git a/tests/test_f90nml.py b/tests/test_f90nml.py
index <HASH>..<HASH> 100644
--- a/tests/test_f90nml.py
+++ b/tests/test_f90nml.py
@@ -683,6 +683,10 @@ class Test(unittest.TestCase):
test_nml = f90nml.read('grp_repeat.nml')
self.assertEqual(self.grp_repeat_nml, test_nml)
self.assert_w... | Test str() output for repeated string
Given the legacy of using lists to identify repeated strings, and how
this breaks the output of str(), an additional test was added to track
this issue.
I remove the trailing '\n' from the IO file for the comparison, which
str() does not apply. | marshallward_f90nml | train |
7c5958015f78b1990d3d83f3ab61798281f8f7b3 | diff --git a/plugins/CoreUpdater/Commands/Update.php b/plugins/CoreUpdater/Commands/Update.php
index <HASH>..<HASH> 100644
--- a/plugins/CoreUpdater/Commands/Update.php
+++ b/plugins/CoreUpdater/Commands/Update.php
@@ -163,6 +163,14 @@ class Update extends ConsoleCommand
return;
}
+
+ if ... | Display warning in console command when the DB upgrade is major | matomo-org_matomo | train |
ce9a1de048eebc3ce7cb34c5baa77dc108f0f628 | diff --git a/web/concrete/single_pages/dashboard/files/add_set.php b/web/concrete/single_pages/dashboard/files/add_set.php
index <HASH>..<HASH> 100644
--- a/web/concrete/single_pages/dashboard/files/add_set.php
+++ b/web/concrete/single_pages/dashboard/files/add_set.php
@@ -2,8 +2,9 @@
<? $ih = Loader::helper('concret... | Fix for broken 'add file set' button
Just changed the nesting so that the form includes the pane-footer and the 'submit' button/input.
Former-commit-id: <I>cf<I>c7ffc7c6bc<I>eee<I>f<I>ac1e<I>cf<I> | concrete5_concrete5 | train |
e2de3e407a1ec5c16778ac53d570be3b539c064b | diff --git a/waliki/git/__init__.py b/waliki/git/__init__.py
index <HASH>..<HASH> 100644
--- a/waliki/git/__init__.py
+++ b/waliki/git/__init__.py
@@ -91,7 +91,7 @@ class Git(object):
def version(self, page, version):
try:
- return six.text_type(git.show('%s:%s' % (version, page.path)))
+ ... | proper identation in diff view. Fix #<I> | mgaitan_waliki | train |
eb8687dffa8f00c8cb87633c836ab1f3168396cf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,6 +44,7 @@ setup(
'PyYAML',
'gevent',
'docopt',
+ 'pyselect',
],
entry_points={
'console_scripts': [
diff --git a/src/chill/script.py b/src/chill/script.py
index <HASH... | Initial 'operate' command
Still a work in progress. Bit of a mess at the moment. | jkenlooper_chill | train |
3b86c88ad94aa80160239c661c0b58542a580b71 | diff --git a/spyder/__init__.py b/spyder/__init__.py
index <HASH>..<HASH> 100644
--- a/spyder/__init__.py
+++ b/spyder/__init__.py
@@ -29,7 +29,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
"""
-version_info = (4, 0, "0b2")
+version_info = (4, 0, 0, "dev0")
__... | Back to work
[ci skip] | spyder-ide_spyder | train |
20a24d557e043a1f9b23c63dc3868ba80276fabe | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -346,6 +346,56 @@ class AESFuncs(object):
pickle.dump(load['out'],
open(os.path.join(hn_dir, 'out.p'), 'w+'))
+ def minion_publish(self, clear_load):
+ '''
... | Initial commit for minion client in the master | saltstack_salt | train |
ebbfc8cd023385e771410840ef96556d6a26a158 | diff --git a/src/Resolver.php b/src/Resolver.php
index <HASH>..<HASH> 100644
--- a/src/Resolver.php
+++ b/src/Resolver.php
@@ -31,9 +31,4 @@ interface Resolver
* * http://foo/bar/ => http://foo/bar/
*/
public function file(string $url): string;
-
- /**
- * Check if the url point to a folder
... | remove method already available in innmind/url | Innmind_url-resolver | train |
a4ee7eb163ac36634294132538b68862c9cc566e | diff --git a/src/Meta/User.php b/src/Meta/User.php
index <HASH>..<HASH> 100644
--- a/src/Meta/User.php
+++ b/src/Meta/User.php
@@ -105,9 +105,13 @@ class User extends Meta
{
if (isset($_REQUEST['user_id'])) {
return $_REQUEST['user_id'];
- } elseif (! isset($_POST['cuztom']['object']))... | User::determineObject remove redundant else | gizburdt_cuztom | train |
8c73f1f72c832606dd5e4dd430ec9535847acd39 | diff --git a/lib/gym/runner.rb b/lib/gym/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/gym/runner.rb
+++ b/lib/gym/runner.rb
@@ -13,8 +13,6 @@ module Gym
move_results
end
- private
-
#####################################################
# @!group Printing out things
###################... | Fixed printing out the command when having Swift enabled | fastlane_fastlane | train |
1334c9673f795832886de45670752d03e89e391d | diff --git a/analytics/sites.py b/analytics/sites.py
index <HASH>..<HASH> 100644
--- a/analytics/sites.py
+++ b/analytics/sites.py
@@ -1,32 +1,22 @@
-from django.conf import settings
-
class AlreadyRegistered(Exception):
pass
-class Metrics(object):
+class Gadgets(object):
"""
- A Metrics object providi... | renamed to gadgets, cleanup | praekelt_django-analytics | train |
9435db4a329a782f080717c4d3f6512a7fd31679 | diff --git a/services/managers/discord_manager.py b/services/managers/discord_manager.py
index <HASH>..<HASH> 100644
--- a/services/managers/discord_manager.py
+++ b/services/managers/discord_manager.py
@@ -506,7 +506,7 @@ class DiscordOAuthManager:
@staticmethod
def delete_user(user_id):
try:
- ... | update authorization header
include token_type as required by recent API changes | allianceauth_allianceauth | train |
21abd85a63cb0e857161891573fa306a69754b60 | diff --git a/audio/vorbis/vorbis.go b/audio/vorbis/vorbis.go
index <HASH>..<HASH> 100644
--- a/audio/vorbis/vorbis.go
+++ b/audio/vorbis/vorbis.go
@@ -71,7 +71,6 @@ type decoder interface {
type decoded struct {
totalBytes int
- readBytes int
posInBytes int
source io.Closer
decoder decoder
diff --git... | Small cleanup (#<I>)
* Remove unused variables and constants
* Remove redundant return statement
* Change flock.NewFlock to flock.New | hajimehoshi_ebiten | train |
d41600667ea89c89d1803d74af1bbacc10f49e3e | diff --git a/pycm/pycm_output.py b/pycm/pycm_output.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_output.py
+++ b/pycm/pycm_output.py
@@ -21,6 +21,7 @@ def html_init(name):
result += "<title>" + str(name) + "</title>\n"
result += "</head>\n"
result += "<body>\n"
+ result += '<meta http-equiv="content... | fix : utf-8 meta tag added to html_init function #<I> | sepandhaghighi_pycm | train |
ca7499cb73f2d2b79a9c420ae2ca5704e428f9b5 | diff --git a/lib/okay/simple_opts.rb b/lib/okay/simple_opts.rb
index <HASH>..<HASH> 100644
--- a/lib/okay/simple_opts.rb
+++ b/lib/okay/simple_opts.rb
@@ -1,28 +1,31 @@
# frozen_string_literal: true
+require "okay/version"
require "optparse"
-##
-# An OptionParser wrapper providing a few convenience functions.
-c... | Let's just... not talk about that lmao. | duckinator_okay | train |
bc54fde5a71af7476c2cf9fd112002601ee31ba2 | diff --git a/src/main/java/javax/security/jacc/WebResourcePermission.java b/src/main/java/javax/security/jacc/WebResourcePermission.java
index <HASH>..<HASH> 100755
--- a/src/main/java/javax/security/jacc/WebResourcePermission.java
+++ b/src/main/java/javax/security/jacc/WebResourcePermission.java
@@ -322,7 +322,7 @@ p... | WebResourcePermission does not match HTTP method exclusions correctly | jboss_jboss-jacc-api_spec | train |
be5535b0c0396aaab674e95b8b300a65b7d9d64f | diff --git a/execjs/_external_runtime.py b/execjs/_external_runtime.py
index <HASH>..<HASH> 100644
--- a/execjs/_external_runtime.py
+++ b/execjs/_external_runtime.py
@@ -19,13 +19,14 @@ from execjs._misc import encode_unicode_codepoints
class ExternalRuntime(AbstractRuntime):
'''Runtime to execute codes with e... | Added option to call runtime using stdin/pipes instead of temp directory | doloopwhile_PyExecJS | train |
fc94449eec33469057614a13cbfe59e4f4e855fd | diff --git a/core/src/main/java/org/infinispan/factories/AbstractComponentRegistry.java b/core/src/main/java/org/infinispan/factories/AbstractComponentRegistry.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/factories/AbstractComponentRegistry.java
+++ b/core/src/main/java/org/infinispan/factor... | fixed typo in trace log message: "stop method" -> "start method" | infinispan_infinispan | train |
49075cc7326c5064fd9b7d6ea669887112950045 | diff --git a/lib/capybara/dsl.rb b/lib/capybara/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/capybara/dsl.rb
+++ b/lib/capybara/dsl.rb
@@ -1,6 +1,7 @@
module Capybara
class << self
attr_writer :default_driver, :current_driver, :javascript_driver
+ attr_writer :default_selector
attr_accessor :app
@@... | Allow toggling between css or xpath as the default selecto style. | teamcapybara_capybara | train |
4ea14f0f42d50ccab0b9a0568ff9874e8048a820 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,43 +1,29 @@
#!/usr/bin/env python
from setuptools import setup
-from autosemver.packaging import (
- get_authors,
- get_current_version,
- get_changelog,
-)
-
-
PACKAGE_NAME = 'python-foreman'
URL = 'https://... | packaging: use autosemver though distutils
* Fix also the missing package (closes #<I>) | david-caro_python-foreman | train |
4be8653800d0bf8f8bc76d6fb590d8256e906c5a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -250,6 +250,13 @@ InternetRelayChat.prototype.sendLine = function(line) {
}
};
+InternetRelayChat.prototype.sendRawLine = function(line) {
+ this.socket.write(line + "\r\n");
+ if(this.options.debug) {
+ console.lo... | Added sendRawLine method | DoctorMcKay_node-internet-relay-chat | train |
37cf2b9e7d470402fdb8c93245239b35059167c0 | diff --git a/cmd/helm/get_test.go b/cmd/helm/get_test.go
index <HASH>..<HASH> 100644
--- a/cmd/helm/get_test.go
+++ b/cmd/helm/get_test.go
@@ -21,7 +21,6 @@ import (
"regexp"
"testing"
- "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release"
)
@@ -29,30 +28,28 @@ func TestGetCmd(t *testing.T) {
tests ... | ref(tests): simplify creating fake client | helm_helm | train |
41601064cb0ca86f1da9ccd550114756661781cd | diff --git a/outbound/hmail.js b/outbound/hmail.js
index <HASH>..<HASH> 100644
--- a/outbound/hmail.js
+++ b/outbound/hmail.js
@@ -553,7 +553,8 @@ class HMailItem extends events.EventEmitter {
// TLS
if (!secured && smtp_properties.tls && cfg.enable_tls) {
- if (!net_utils.ip_... | outbound: check list exists before attempting to use it (#<I>) | haraka_Haraka | train |
c9c2027332d2f6fd0ae4a88759eee0f758bd9fe3 | diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -2830,6 +2830,7 @@ function add_mod_to_section($mod, $beforemod=NULL) {
return $section->id; // Return course_sections ID that was used.
} else { // Insert a new record
+ $se... | MDL-<I> E_STRICT fix | moodle_moodle | train |
156224a85be36f81f7df8502f9f091aff43ff571 | diff --git a/server/sublist_test.go b/server/sublist_test.go
index <HASH>..<HASH> 100644
--- a/server/sublist_test.go
+++ b/server/sublist_test.go
@@ -313,12 +313,12 @@ func TestSublistCache(t *testing.T) {
s.Match(fmt.Sprintf("foo-%d\n", i))
}
- // Let cleanup Go routine run.
- runtime.Gosched()
-
- if cc := s.... | Fix sublist cache flapping test
Use `checkFor` to ensure that cache size is ok. Repeated test
<I> times and no failure now. | nats-io_gnatsd | train |
70a8d7d1aa5d9118be1687e6f998588668fa90c1 | diff --git a/rqalpha/mod/rqalpha_mod_sys_accounts/position_model/asset_position.py b/rqalpha/mod/rqalpha_mod_sys_accounts/position_model/asset_position.py
index <HASH>..<HASH> 100644
--- a/rqalpha/mod/rqalpha_mod_sys_accounts/position_model/asset_position.py
+++ b/rqalpha/mod/rqalpha_mod_sys_accounts/position_model/ass... | fix position_pnl at listed date | ricequant_rqalpha | train |
7f94b2d998951dac9da13b931701f272b3583e05 | diff --git a/nap-www/napwww/public/nap.js b/nap-www/napwww/public/nap.js
index <HASH>..<HASH> 100644
--- a/nap-www/napwww/public/nap.js
+++ b/nap-www/napwww/public/nap.js
@@ -700,6 +700,7 @@ function receivePrefixList(search_result) {
* contains a prefix which already is displayed in the prefix list.
*/
function r... | Another assignment child count modification
Now an assignment's children are counted and added to the result even if
the assignment did not match, if the child count is > 0. This should
fix #<I>. | SpriteLink_NIPAP | train |
301206ceea87e49a674bdb576bfac596710e0343 | diff --git a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
index <HASH>..<HASH> 100644
--- a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
+++ b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
@@ -62,9 +62,18 @@ class ImageConverter extends BaseC... | feature: image - add width and height | caouecs_Laravel-SirTrevorJS | train |
679ed3120da21d620b7cd9a838e073c817653864 | diff --git a/ot/da.py b/ot/da.py
index <HASH>..<HASH> 100644
--- a/ot/da.py
+++ b/ot/da.py
@@ -1111,7 +1111,7 @@ class BaseTransport(BaseEstimator):
D1 = np.zeros((n, len(ysTemp)))
# perform label propagation
- transp = self.coupling_ / np.sum(self.coupling_, 1)[:, None]
+ ... | Fix to BaseTransport.transform_labels() (#<I>)
* Fix to BaseTransport.transform_labels()
Issue #<I>
* Fix - forgot to commit | rflamary_POT | train |
6c2846d33f1eef70f1b2320dd1c8511cd44889bf | diff --git a/source/php/AcfFields/json/mod-contacts.json b/source/php/AcfFields/json/mod-contacts.json
index <HASH>..<HASH> 100644
--- a/source/php/AcfFields/json/mod-contacts.json
+++ b/source/php/AcfFields/json/mod-contacts.json
@@ -16,8 +16,7 @@
"id": ""
},
"choices": {
- ... | Remove circular cards option.
This will instead be default by styleguide. | helsingborg-stad_Modularity | train |
eb35529b431315ba551c6842d658e5bd909f65e5 | diff --git a/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/utils/DBClosure.java b/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/utils/DBClosure.java
index <HASH>..<HASH> 100644
--- a/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/utils/DBClosure.java
+++ b/wicket-orientdb/src/main/... | Added sudo consumer for simplify update data in database from admin | OrienteerBAP_wicket-orientdb | train |
d8d2c0ecc7b75c387490d6038ff0380ff84973d1 | diff --git a/src/com/alexbbb/uploadservice/UploadService.java b/src/com/alexbbb/uploadservice/UploadService.java
index <HASH>..<HASH> 100644
--- a/src/com/alexbbb/uploadservice/UploadService.java
+++ b/src/com/alexbbb/uploadservice/UploadService.java
@@ -14,6 +14,7 @@ import javax.net.ssl.HostnameVerifier;
import java... | Use wakelock to keep upload running while device is sleeping | gotev_android-upload-service | train |
879225b3ae8a519ff680b44285953d7db258606d | diff --git a/event/event.js b/event/event.js
index <HASH>..<HASH> 100644
--- a/event/event.js
+++ b/event/event.js
@@ -19,7 +19,7 @@ jQuery.fn.extend({
* @name toggle
* @type jQuery
* @param Function even The function to execute on every even click.
- * @param Function odd The function to execute on every odd... | Fixed the nested comment issue. | jquery_jquery | train |
cbed21a0aacb3813156482cc707dc8947086f232 | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -333,8 +333,15 @@ class Instrument(object):
for ke in key:
self.meta[ke] = {}
else:
- raise ValueError("No suppo... | Added .empty attribute to Instrument object. Added __repr__ support as well. | rstoneback_pysat | train |
5991a74de3ccfe56b29aec8b757c63a198943a01 | diff --git a/spec/Tasks/IdentifyFeaturesSpec.js b/spec/Tasks/IdentifyFeaturesSpec.js
index <HASH>..<HASH> 100644
--- a/spec/Tasks/IdentifyFeaturesSpec.js
+++ b/spec/Tasks/IdentifyFeaturesSpec.js
@@ -58,7 +58,8 @@ describe('L.esri.Tasks.IdentifyFeatures', function () {
'OBJECTID': 1,
'Name': 'Site'
... | tag identifyFeatures results with their parent layerId
updated tests | Esri_esri-leaflet | train |
2a0d25b94c619fefc3e0e52bc1db0c466ed71338 | diff --git a/pysat/_files.py b/pysat/_files.py
index <HASH>..<HASH> 100644
--- a/pysat/_files.py
+++ b/pysat/_files.py
@@ -914,6 +914,9 @@ class Files(object):
part of the name that need not be extracted.
'cnofs_cindi_ivm_500ms_{year:4d}{month:02d}{day:02d}_v??.cdf'
+ The 'day' format keyword... | DOC: added clarification about day usage
Added note that 'day' can be used for either day of month or day of year. | rstoneback_pysat | train |
49bff694dd8f014e6d618c2808366dae370f7816 | diff --git a/src/RTC/index.js b/src/RTC/index.js
index <HASH>..<HASH> 100644
--- a/src/RTC/index.js
+++ b/src/RTC/index.js
@@ -9,4 +9,4 @@ exports.RTCDataChannelEvent = require('./datachannelevent');
exports.RTCDataChannelMessageEvent = require('./datachannelmessageevent');
exports.RTCTrackEvent = require('./trackeve... | Bugfix RTCRtpTransceiver require | exokitxr_exokit | train |
fb26229e82ca52c9c87b83848e57bb147090afa3 | diff --git a/opencage/geocoder.py b/opencage/geocoder.py
index <HASH>..<HASH> 100644
--- a/opencage/geocoder.py
+++ b/opencage/geocoder.py
@@ -2,7 +2,7 @@ import requests
import collections
import six
from datetime import datetime
-
+from decimal import Decimal
class OpenCageGeocodeError(Exception):
pass
@@ ... | reverse geocoding, ensure the lat/lng are OK | OpenCageData_python-opencage-geocoder | train |
d1462c7c66c045738fd5f5a067d87ea42b6b4b18 | diff --git a/camp/plate.js b/camp/plate.js
index <HASH>..<HASH> 100644
--- a/camp/plate.js
+++ b/camp/plate.js
@@ -89,7 +89,7 @@ Plate.format = function (text, literal) {
// Can throw pretty easily if the template is too complex.
Plate.value = function (literal, strval) {
try {
- // TODO: special-case faster, s... | Plate: not a todo anymore. | espadrine_sc | train |
4aa1e4600ef8dc7fd7a0a76559ba5fd650e28c32 | diff --git a/src/Controller.php b/src/Controller.php
index <HASH>..<HASH> 100644
--- a/src/Controller.php
+++ b/src/Controller.php
@@ -30,17 +30,6 @@ class Controller
];
/**
- * Set the status object associated with the controller using an HTTP status code
- * @param $statusCode
- * @return $thi... | Removed setStatusCode, used StatusInjectorTest in Controller test | AyeAyeApi_Api | train |
028f3842d7354b5d20c0cc889adfe465cbf8b6af | diff --git a/relib/function_body.py b/relib/function_body.py
index <HASH>..<HASH> 100644
--- a/relib/function_body.py
+++ b/relib/function_body.py
@@ -1,7 +1,10 @@
+import os
import inspect
-from types import CodeType
-from . import f
-from . import hashing
+from types import FunctionType, CodeType
+from . import f, i... | memoize: exclude 3rd party dependency functions | Reddan_relib | train |
c5de13dd831e4e96992d0873fcaa33b289bd216d | diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index <HASH>..<HASH> 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -509,7 +509,10 @@ $.extend(DataTable.prototype, UIControl.prototype, {
setMaxTableW... | Fix Uncaught TypeError: this.jsViewDataTable.indexOf is not a function (#<I>)
* refs #<I> better piwik.js json compatibility
* fix some tests
* fix json lint tests
* Display titles correctly in API reference doc
* Slightly better code
* Prevent error reported in #<I>
* Per Thomas feedback
* fix | matomo-org_matomo | train |
81d417a2b35019f75e31d550f1a624fddfa6d4f7 | diff --git a/gns3server/modules/dynamips/__init__.py b/gns3server/modules/dynamips/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/dynamips/__init__.py
+++ b/gns3server/modules/dynamips/__init__.py
@@ -381,7 +381,7 @@ class Dynamips(BaseManager):
rhost = nio_settings["rhost"]
... | Fixes too many arguments to socket.getaddrinfo() | GNS3_gns3-server | train |
01ac1e4067472bceab819ad559174d50f089ffea | diff --git a/color.go b/color.go
index <HASH>..<HASH> 100644
--- a/color.go
+++ b/color.go
@@ -435,7 +435,8 @@ const (
ColorSlateGrey = ColorSlateGray
)
-var colorValues = map[Color]int32{
+// ColorValues maps color constants to their RGB values.
+var ColorValues = map[Color]int32{
ColorBlack: ... | Document and publish color names and RGB values. (#<I>)
* Document and publish color names and RGB values.
* Fix failing tests. | gdamore_tcell | train |
0666b8a0985df2b3dbbb66f5c37ff8981028f05f | diff --git a/src/processor.js b/src/processor.js
index <HASH>..<HASH> 100644
--- a/src/processor.js
+++ b/src/processor.js
@@ -107,9 +107,7 @@ function processRoom(roomId, intents, objects, terrain, gameTime, roomInfo, flag
roomSpawns.push(object);
}
- if(!driver.config.emit('... | refact(modding): replace callbacks with EventEmitters | screeps_engine | train |
6fc57a91d83f63c75405d7d58cc607961d62f3f5 | diff --git a/api/api_integration_test.go b/api/api_integration_test.go
index <HASH>..<HASH> 100644
--- a/api/api_integration_test.go
+++ b/api/api_integration_test.go
@@ -152,6 +152,7 @@ func testPostgresDB(t testing.TB) (string, func()) {
if err != nil {
return err
}
+ defer db.Close()
return db.Ping()
... | Purge opened connections on retries during tests (#<I>) | hashicorp_vault | train |
39a5765888e6aa1ff5b516873ffccf070c7ce2d0 | diff --git a/spec/integ/matrix-client-event-emitter.spec.js b/spec/integ/matrix-client-event-emitter.spec.js
index <HASH>..<HASH> 100644
--- a/spec/integ/matrix-client-event-emitter.spec.js
+++ b/spec/integ/matrix-client-event-emitter.spec.js
@@ -279,6 +279,24 @@ describe("MatrixClient events", function() {
... | Test tghat Session.logged_out is fired | matrix-org_matrix-js-sdk | train |
11c3bd4bc766db4ed1437d4fb880ac7a3653bc70 | diff --git a/metadatasvc/main.go b/metadatasvc/main.go
index <HASH>..<HASH> 100644
--- a/metadatasvc/main.go
+++ b/metadatasvc/main.go
@@ -378,11 +378,12 @@ func logReq(h func(w http.ResponseWriter, r *http.Request)) func(w http.Response
func main() {
if err := setupIPTables(); err != nil {
- fmt.Println(err)
- ... | metadatasvc: checking the initCrypto error
Missed the real checking for the initCrypto error.
I have also taken the liberty to slightly change the printing of the error of the setupIPTables call to keep it consistant and use log.Fatal | rkt_rkt | train |
93b38636c024f864c1bf068552646ab1fdd0929b | diff --git a/lib/rails_best_practices/version.rb b/lib/rails_best_practices/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_best_practices/version.rb
+++ b/lib/rails_best_practices/version.rb
@@ -1,4 +1,4 @@
# encoding: utf-8
module RailsBestPractices
- VERSION = "1.15.5"
+ VERSION = "1.15.6"
end | Bumping version to <I> | flyerhzm_rails_best_practices | train |
ad76f786b4191c6292719fad83304a1412b365c0 | diff --git a/lib/transport.js b/lib/transport.js
index <HASH>..<HASH> 100644
--- a/lib/transport.js
+++ b/lib/transport.js
@@ -10,7 +10,7 @@
(function(){
- var frame = '\uffffm\uffff',
+ var frame = '~m~',
Transport = io.Transport = function(base, options){
this.base = base;
@@ -74,7 +74,7 @@
if (!('se... | Replacing unicode characters for flashsocket | tsjing_socket.io-client | train |
19d2ed0daae01bfb30790cdae222b5378571f6f2 | diff --git a/hca/full_upload.py b/hca/full_upload.py
index <HASH>..<HASH> 100644
--- a/hca/full_upload.py
+++ b/hca/full_upload.py
@@ -68,6 +68,9 @@ class FullUpload:
files_to_upload.append(open(path, "rb"))
file_uuids, uploaded_keys = upload_to_cloud(files_to_upload, staging_bucket, args['r... | Close file handles where they're opened | HumanCellAtlas_dcp-cli | train |
ed3af2567c29eaf381153fec63fbc5136a32b27e | diff --git a/src/Charcoal/Property/SpriteProperty.php b/src/Charcoal/Property/SpriteProperty.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/Property/SpriteProperty.php
+++ b/src/Charcoal/Property/SpriteProperty.php
@@ -220,4 +220,22 @@ class SpriteProperty extends AbstractProperty implements SelectablePropertyInter... | Add spriteVal method to spriteProperty which transforms a value into a sprite path | locomotivemtl_charcoal-property | train |
65aa888ec57d4c94c12c7bf884a7bb488468a98e | diff --git a/src/providers/FormulaExamplesProvider.php b/src/providers/FormulaExamplesProvider.php
index <HASH>..<HASH> 100644
--- a/src/providers/FormulaExamplesProvider.php
+++ b/src/providers/FormulaExamplesProvider.php
@@ -19,6 +19,13 @@ use Yii;
*/
class FormulaExamplesProvider
{
+ private string $currencyC... | Show formula suggestions in a correct currency (#<I>) | hiqdev_hipanel-module-finance | train |
5bc78272d121e0870a47d86c2d46f35cb67a3fd4 | diff --git a/src/Russian/GeneralDeclension.php b/src/Russian/GeneralDeclension.php
index <HASH>..<HASH> 100644
--- a/src/Russian/GeneralDeclension.php
+++ b/src/Russian/GeneralDeclension.php
@@ -236,7 +236,7 @@ class GeneralDeclension extends \morphos\GeneralDeclension implements Cases {
}
static public function ... | Fix ending in russian general declension | wapmorgan_Morphos | train |
7df0d6a78b6d768242b1624e9d2c56eec34be8fd | diff --git a/admin/tool/log/store/legacy/classes/log/store.php b/admin/tool/log/store/legacy/classes/log/store.php
index <HASH>..<HASH> 100644
--- a/admin/tool/log/store/legacy/classes/log/store.php
+++ b/admin/tool/log/store/legacy/classes/log/store.php
@@ -91,15 +91,18 @@ class store implements \tool_log\log\store, \... | MDL-<I> logs: prevent fatal error is legacy log data retrieval fails | moodle_moodle | train |
3b30c126d08be515613384d606d3f9637b73892d | diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php
index <HASH>..<HASH> 100644
--- a/features/bootstrap/FeatureContext.php
+++ b/features/bootstrap/FeatureContext.php
@@ -53,7 +53,6 @@ class FeatureContext implements Context, SnippetAcceptingContext
/**
* @Given /^I ... | fix error by using form data transformers | matthiasnoback_symfony-console-form | train |
79c6900dbbb7616ad26db49d94a533d06175eb8a | diff --git a/grandalf/graphs.py b/grandalf/graphs.py
index <HASH>..<HASH> 100644
--- a/grandalf/graphs.py
+++ b/grandalf/graphs.py
@@ -416,6 +416,32 @@ class graph_core(object):
setrecursionlimit(limit)
return scs
+ def partition(self):
+ V = self.sV.copy()
+ R = self.roots()
+ ... | add Vertex set Interval partitioning method | bdcht_grandalf | train |
ef28b68496c53f4b4aead732ac67803e8e096aa2 | diff --git a/actionmailer/test/message_delivery_test.rb b/actionmailer/test/message_delivery_test.rb
index <HASH>..<HASH> 100644
--- a/actionmailer/test/message_delivery_test.rb
+++ b/actionmailer/test/message_delivery_test.rb
@@ -76,14 +76,14 @@ class MessageDeliveryTest < ActiveSupport::TestCase
test "should enq... | Don't cast to float unnecessarily
Adding durations to `Time` instances is perfectly okay. | rails_rails | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.