hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
023e70d2235368271145a82ef091b96ddc6d7018
diff --git a/router.go b/router.go index <HASH>..<HASH> 100644 --- a/router.go +++ b/router.go @@ -268,7 +268,7 @@ func (rtr *Router) ServeHTTP(rw http.ResponseWriter, req *http.Request) { if rtr.HideAccessLog == false && route.HideAccessLog == false { endTime := time.Now() l.Println( - endTime.Format("20...
printing request URI instead of raw query while printing accesslog
bnkamalesh_webgo
train
go
d48f69764d1834a29a99758bb9252a92fc1cd5de
diff --git a/tasks/buster/config.js b/tasks/buster/config.js index <HASH>..<HASH> 100644 --- a/tasks/buster/config.js +++ b/tasks/buster/config.js @@ -14,7 +14,7 @@ exports.getArguments = function (cmd, config) { var serverPort = exports.getConfigSection('server', config).port || 1111; if (cmd === 'phantomjs') ...
Change relative `phantom.js` path `config.js` and `phantom.js` are now both in the same directory.
busterjs_grunt-buster
train
js
d4263538ccb195b46021d11b1a55a3bbaa1669b3
diff --git a/distributions.py b/distributions.py index <HASH>..<HASH> 100644 --- a/distributions.py +++ b/distributions.py @@ -1022,17 +1022,23 @@ class Categorical(GibbsSampling, MeanField, MaxLikelihood, MAP): if weights is None and self.alphav_0 is not None: self.resample() # intialize from pri...
more tweaks to Categorical
mattjj_pybasicbayes
train
py
a6a5b947527218cd5cf95404b6a8837bd6d5415d
diff --git a/lib/airbrake-ruby.rb b/lib/airbrake-ruby.rb index <HASH>..<HASH> 100644 --- a/lib/airbrake-ruby.rb +++ b/lib/airbrake-ruby.rb @@ -370,7 +370,7 @@ module Airbrake # @param [Hash{Symbol=>Object}] request_info # @option request_info [String] :method The HTTP method that was invoked # @option re...
lib/airbrake-ruby: fix typo
airbrake_airbrake-ruby
train
rb
2f791fe5989c772491898fd4fcadcac4a5af704b
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -453,7 +453,11 @@ func (c *Client) handleConnack(connack *packet.ConnackPacket) error { // set state to connected c.state.set(StateConnected) - // TODO: resend stored unacked packets + // resend stored packet...
resend packets on connect
256dpi_gomqtt
train
go
16f469c6cc1d4e3e28f9a0f0598101c6fcfcd08d
diff --git a/spec/helpers/search_helper.rb b/spec/helpers/search_helper.rb index <HASH>..<HASH> 100644 --- a/spec/helpers/search_helper.rb +++ b/spec/helpers/search_helper.rb @@ -69,7 +69,7 @@ module SearchHelper end def connection - @connection ||= mock('connection') + @connection ||= Mock::Connection.ne...
Use Mock::Connection.new in specs instead of mock('connection')
sunspot_sunspot
train
rb
fbefdf5ea7dcbbf690828b1e6df86deb07f8b885
diff --git a/core/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java b/core/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java +++ b/core/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java @...
core: [outlier detection] Get addresses from subchannel args. (#<I>)
grpc_grpc-java
train
java
68116f701708ef80e0baa102f57a3a768bccc203
diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -3068,7 +3068,7 @@ class DboSource extends DataSource { } $out = $this->_buildFieldParameters($o...
BIGINTs can also be primary keys
cakephp_cakephp
train
php
2e371b1f9b35306293f8e907c9ad526e03ba17b0
diff --git a/Event/MauticEnhancerEvent.php b/Event/MauticEnhancerEvent.php index <HASH>..<HASH> 100644 --- a/Event/MauticEnhancerEvent.php +++ b/Event/MauticEnhancerEvent.php @@ -28,12 +28,13 @@ class MauticEnhancerEvent extends Event protected $campaign; /** - * Constructor. + * MauticEnhancerEvent...
[ENG-<I>] Remove references from event constructor.
TheDMSGroup_mautic-enhancer
train
php
3ebb33be6d35158045b2ed5db67afaf360a18f41
diff --git a/graphene/contrib/django/views.py b/graphene/contrib/django/views.py index <HASH>..<HASH> 100644 --- a/graphene/contrib/django/views.py +++ b/graphene/contrib/django/views.py @@ -1,6 +1,6 @@ import json -from django.http import JsonResponse +from django.http import HttpResponse from django.views.generic...
Django <I> compatibility for views
graphql-python_graphene
train
py
238ba6bcba592f9ac79e6a64553786af0dc1ad29
diff --git a/ui/admin/media_button.php b/ui/admin/media_button.php index <HASH>..<HASH> 100644 --- a/ui/admin/media_button.php +++ b/ui/admin/media_button.php @@ -4,7 +4,9 @@ */ function pods_media_button($context) { - + $button = '<a href="javascript:void(0)"><img src="' . PODS_URL . 'ui/images/icon16.png" alt="A...
Added simple button HTML to the media buttons context
pods-framework_pods
train
php
cd55389134a8a5dcbce985b6034eef0df47eb82c
diff --git a/src/Controller/Reflection.php b/src/Controller/Reflection.php index <HASH>..<HASH> 100644 --- a/src/Controller/Reflection.php +++ b/src/Controller/Reflection.php @@ -275,7 +275,8 @@ class Reflection return; } - list($type, $key) = preg_split('/\$/', $param); + list($ty...
Added support description for @param in controller reflection
bluzphp_framework
train
php
e7019c6871b5bca14dc53281c06d658624be91e4
diff --git a/src/Time.php b/src/Time.php index <HASH>..<HASH> 100644 --- a/src/Time.php +++ b/src/Time.php @@ -21,13 +21,7 @@ class Time { $now = new \DateTime('now', $tz); } - $mins = $now->getOffset() / 60; - $sgn = ($mins < 0 ? -1 : 1); - $mins = abs($mins); - $hrs = floor($mins / 60); - $mins -= $hrs ...
refactor: improved Time::timezoneOffset
freialib_hlin.tools
train
php
564001034d82b08ea3073d34b355969929e4ad42
diff --git a/lib/swf.rb b/lib/swf.rb index <HASH>..<HASH> 100644 --- a/lib/swf.rb +++ b/lib/swf.rb @@ -32,7 +32,6 @@ module SWF begin swf.domains[d].exists? rescue => e - collision += 1 if collision < 10 max_slot_delay = 2**collision - 1 sleep(SLOT_TIME * rand(0 .. max_slot_delay))...
adding FM::S3Logger
change_aws-swf
train
rb,rb
5605bf2d9ee9d746cf11b2a3ad21d8ea00e14c86
diff --git a/lib/Cake/tests/cases/libs/view/helper_collection.test.php b/lib/Cake/tests/cases/libs/view/helper_collection.test.php index <HASH>..<HASH> 100644 --- a/lib/Cake/tests/cases/libs/view/helper_collection.test.php +++ b/lib/Cake/tests/cases/libs/view/helper_collection.test.php @@ -73,7 +73,7 @@ class HelperCol...
Fixing failing test for HelperCollection
cakephp_cakephp
train
php
269f14917871f8ea48cc8e06d5a52c92900f1e34
diff --git a/master/buildbot/steps/source/git.py b/master/buildbot/steps/source/git.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/source/git.py +++ b/master/buildbot/steps/source/git.py @@ -103,7 +103,7 @@ class Git(Source): can solve long fetches getting killed due to ...
Allow the depth of the git clone to be set The int() call is to convert True into an integer. But after that, the integer needs to be converted into a string.
buildbot_buildbot
train
py
8ff0d19d6578e08eab2c434a8033dc2110ee17ce
diff --git a/testx2j.js b/testx2j.js index <HASH>..<HASH> 100644 --- a/testx2j.js +++ b/testx2j.js @@ -15,6 +15,8 @@ console.log(xml); try { var obj = x2j.xml2json(xml,{"attributePrefix": "@","valueProperty": valueProperty, "coerceTypes": false}); console.log(); + console.log(x2j.getString()); + console.log(); c...
Show intermediary text re: issue #3
Mermade_jgeXml
train
js
06d8f7ec597165aeb7d4f9b6bce414350b37eea5
diff --git a/rails_event_store/lib/rails_event_store/aggregate_root.rb b/rails_event_store/lib/rails_event_store/aggregate_root.rb index <HASH>..<HASH> 100644 --- a/rails_event_store/lib/rails_event_store/aggregate_root.rb +++ b/rails_event_store/lib/rails_event_store/aggregate_root.rb @@ -1,4 +1,7 @@ module RailsEven...
Added uuid generator to AggregateRoot
RailsEventStore_rails_event_store
train
rb,rb
0b999d6cdd99db231d1929d63286480018e2f57e
diff --git a/src/main/java/noraui/main/ScenarioInitiator.java b/src/main/java/noraui/main/ScenarioInitiator.java index <HASH>..<HASH> 100644 --- a/src/main/java/noraui/main/ScenarioInitiator.java +++ b/src/main/java/noraui/main/ScenarioInitiator.java @@ -34,9 +34,11 @@ public class ScenarioInitiator { logg...
NHA: Added evolution on --tags to take into account and tags Cucumber/Gherkin conditions
NoraUi_NoraUi
train
java
7da9bb68ce9ad08b3a648b49d52eddd1cc153137
diff --git a/airflow/api/common/experimental/delete_dag.py b/airflow/api/common/experimental/delete_dag.py index <HASH>..<HASH> 100644 --- a/airflow/api/common/experimental/delete_dag.py +++ b/airflow/api/common/experimental/delete_dag.py @@ -41,7 +41,7 @@ def delete_dag(dag_id, keep_records_in_log=True): if dag i...
[AIRFLOW-<I>] Fix incorrect logic in detele_dag (introduced in PR#<I>) (#<I>) Incorrect logic was introduced in PR #<I> (<URL>) This was not found out because the Travis CI was not working as expected.
apache_airflow
train
py
38afa507bb81b23de697be16d53048b191821a45
diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index <HASH>..<HASH> 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -175,6 +175,7 @@ func main() { _, err := a.Parse(os.Args[1:]) if err != nil { + fmt.Fprintln(os.Stderr, errors.Wrapf(err, "Error parsing commandline arguments")) ...
Provide better errors messages in commandline Instead or only printing the help message, which is not always helpful. For example, when upgrading from prometheus v1, the retention time value format has changed and now only accepts one unit (e.g. "<I>d") where it previously allowed more complex strings (e.g. "<I>h0m0s"...
prometheus_prometheus
train
go
35cdd075b5dd14c87c6de462c36cbd55a6fce071
diff --git a/tests/config/test_config.py b/tests/config/test_config.py index <HASH>..<HASH> 100644 --- a/tests/config/test_config.py +++ b/tests/config/test_config.py @@ -99,7 +99,8 @@ reports = true check_configuration_file_reader(config_file) -def test_can_read_env_variable(tmp_path: PosixPath) -> None: +def...
Rename test_can_read_env_variable so it has 'toml' in it It permits to launch the toml test easily with pytest -k toml
PyCQA_pylint
train
py
f53b988985aaae8754fb3d9d5060e52aedd7a013
diff --git a/housekeeper/pipelines/cli.py b/housekeeper/pipelines/cli.py index <HASH>..<HASH> 100644 --- a/housekeeper/pipelines/cli.py +++ b/housekeeper/pipelines/cli.py @@ -122,6 +122,9 @@ def scout(context, madeline_exe, date, replace, case_name): madeline_exe = madeline_exe or context.obj['madeline_exe'] ...
check version in scout command
Clinical-Genomics_housekeeper
train
py
a14226f4e12e81038ad6f05c9fe2ae58af977081
diff --git a/lib/runner.js b/lib/runner.js index <HASH>..<HASH> 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -390,10 +390,11 @@ Runner.prototype.run = function(fn){ // uncaught exception function uncaught(err){ + var runnable = self.currentRunnable; debug('uncaught exception'); - self.currentRun...
Fixed: only emit "test end" for uncaught within test, not hook
mochajs_mocha
train
js,js
3e6e698423d86415a329b284fa251a588b1494ac
diff --git a/ResourceLocator/src/UniformResourceIterator.php b/ResourceLocator/src/UniformResourceIterator.php index <HASH>..<HASH> 100644 --- a/ResourceLocator/src/UniformResourceIterator.php +++ b/ResourceLocator/src/UniformResourceIterator.php @@ -101,6 +101,16 @@ class UniformResourceIterator extends FilesystemIter...
Fixed a bug in UniformResourceIterator::rewind()
rockettheme_toolbox
train
php
311315e23ade2607714ac8888a46e97bbb5a9e27
diff --git a/output/html/db_dupes.php b/output/html/db_dupes.php index <HASH>..<HASH> 100644 --- a/output/html/db_dupes.php +++ b/output/html/db_dupes.php @@ -136,7 +136,12 @@ class QM_Output_Html_DB_Dupes extends QM_Output_Html { if ( $dbq ) { $dbq_data = $dbq->get_data(); if ( isset( $dbq_data['dupes'] ) &...
Show the total duplicate query count instead of the number of distinct duplicates. Much more useful.
johnbillion_query-monitor
train
php
9aaf3428790b8894eec280f1ba7b5c1f47e1b617
diff --git a/App/Config/config.pages.php b/App/Config/config.pages.php index <HASH>..<HASH> 100644 --- a/App/Config/config.pages.php +++ b/App/Config/config.pages.php @@ -14,7 +14,8 @@ Each entry should have a corresponding user reachable file (with an arbitrary re a. Defines a controller and includes the loader ...
update wording of doc for config.pages
TAMULib_Pipit
train
php
b22422f4b89187e70e74592fcb23d6994c0486d2
diff --git a/src/diagrams/common/common.js b/src/diagrams/common/common.js index <HASH>..<HASH> 100644 --- a/src/diagrams/common/common.js +++ b/src/diagrams/common/common.js @@ -65,8 +65,7 @@ const sanitizeMore = (text, config) => { }; export const sanitizeText = (text, config) => { - const level = config.securit...
Comment console.log in sanitizeText This is to avoid console window be flooded with 'security level' messages
knsv_mermaid
train
js
ab1ce89f93699f494b8025e9bd6be357d9809846
diff --git a/Arr.php b/Arr.php index <HASH>..<HASH> 100755 --- a/Arr.php +++ b/Arr.php @@ -172,25 +172,17 @@ class Arr */ public static function flatten($array, $depth = INF) { - $result = []; - - foreach ($array as $item) { + return array_reduce($array, function ($result, $item) us...
Refactor flatten, and always ignore keys (#<I>)
illuminate_support
train
php
713da5ac7b997264979b44f6125e333f43c11003
diff --git a/test/k8sT/DatapathConfiguration.go b/test/k8sT/DatapathConfiguration.go index <HASH>..<HASH> 100644 --- a/test/k8sT/DatapathConfiguration.go +++ b/test/k8sT/DatapathConfiguration.go @@ -140,6 +140,17 @@ var _ = Describe("K8sDatapathConfig", func() { Expect(testPodConnectivityAcrossNodes(kubectl)).Shoul...
test: Add disabled test for tunnel+endpointRoutes
cilium_cilium
train
go
0dfc6550e7afea045039208c142d384cf015af25
diff --git a/pycoin/ecdsa/Group.py b/pycoin/ecdsa/Group.py index <HASH>..<HASH> 100644 --- a/pycoin/ecdsa/Group.py +++ b/pycoin/ecdsa/Group.py @@ -17,13 +17,19 @@ class Group(Curve, Point): def order(self): return self._order - def public_pair_for_x(self, x, is_even): + def y_values_for_x(self, x)...
Create y_values_for_x.
richardkiss_pycoin
train
py
ba4f1db2cd9578af426f81edb0bf158089fa26db
diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/SimpleTypeInferer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/SimpleTypeInferer.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/SimpleTypeInferer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression...
Use ArrayCreationInfo for class strings
vimeo_psalm
train
php
05586351d4792c24d620b0bc8901fd7c3dfedd10
diff --git a/auto_ml/utils_models.py b/auto_ml/utils_models.py index <HASH>..<HASH> 100644 --- a/auto_ml/utils_models.py +++ b/auto_ml/utils_models.py @@ -46,7 +46,7 @@ from auto_ml import utils -def get_model_from_name(model_name, training_params=None): +def get_model_from_name(model_name, training_params=None, ...
limits model training time if is_hp_search
ClimbsRocks_auto_ml
train
py
0f883727e3402798ea558f276339ad2e3d3bd1a1
diff --git a/lib/childTemplates.js b/lib/childTemplates.js index <HASH>..<HASH> 100644 --- a/lib/childTemplates.js +++ b/lib/childTemplates.js @@ -119,11 +119,11 @@ async function evaluateChildTemplates (reporter, request, response, evaluateInTe q.folder = null } - let templates = await reporter.docume...
add missing req object in queries
jsreport_jsreport-child-templates
train
js
9e6f6f9bfe358b5bc472a938ac60340ca09fd3e6
diff --git a/src/Base58.php b/src/Base58.php index <HASH>..<HASH> 100644 --- a/src/Base58.php +++ b/src/Base58.php @@ -47,8 +47,9 @@ class Base58 $this->options = array_merge($this->options, (array) $options); if (function_exists("gmp_init")) { $this->encoder = new Base58\GmpEncoder($this...
Fix GmpEncoder not used (#<I>)
tuupola_base58
train
php
550695d3980c5e462eeab317fea7971109c82ea3
diff --git a/src/misc/sigma.misc.animation.js b/src/misc/sigma.misc.animation.js index <HASH>..<HASH> 100644 --- a/src/misc/sigma.misc.animation.js +++ b/src/misc/sigma.misc.animation.js @@ -84,7 +84,7 @@ fn = function() { var coef, - t = (sigma.utils.dateNow() - start) / o.duration; + t...
minor fix for animations Fixed a bug when the camera is animated with a duration of 0.
jacomyal_sigma.js
train
js
a5b8dad786c2dc09564b9440566a8480655bb4e9
diff --git a/python_utils/time.py b/python_utils/time.py index <HASH>..<HASH> 100644 --- a/python_utils/time.py +++ b/python_utils/time.py @@ -1,7 +1,12 @@ import six +import time +import typing import datetime +import itertools +delta_type = typing.Union[datetime.timedelta, int, float] + # There might be a bett...
added timeout generator for retrying until a timeout has been reached
WoLpH_python-utils
train
py
db57ad3b301503cf12ea1a4ce5c28d39c8edc534
diff --git a/examples/with-apollo/lib/apollo.js b/examples/with-apollo/lib/apollo.js index <HASH>..<HASH> 100644 --- a/examples/with-apollo/lib/apollo.js +++ b/examples/with-apollo/lib/apollo.js @@ -137,9 +137,9 @@ export const withApollo = ({ ssr = false } = {}) => PageComponent => { // we need to modify ...
Fix assignment of props in WithApollo.getInitialProps (#<I>) The props are being assigned incorrectly based on the `inAppContext`, they should be wrapped in `pageProps` when `inAppContext` is true, not the other way around. This will cause a new apollo client to be created during `getDataFromTree` instead of using the...
zeit_next.js
train
js
91cc0c42997c39191a5929a11c6f07ccf2c63112
diff --git a/drivers/gpio/grove_drivers_test.go b/drivers/gpio/grove_drivers_test.go index <HASH>..<HASH> 100644 --- a/drivers/gpio/grove_drivers_test.go +++ b/drivers/gpio/grove_drivers_test.go @@ -131,7 +131,7 @@ func TestDriverPublishesError(t *testing.T) { testAdaptorAnalogRead = returnErr testAdaptorDigitalR...
core: correct test for GPIO grove to match multierror
hybridgroup_gobot
train
go
388e16104b9b179b8dec6eb7648babc739829eef
diff --git a/examples/quiz-message/app.js b/examples/quiz-message/app.js index <HASH>..<HASH> 100644 --- a/examples/quiz-message/app.js +++ b/examples/quiz-message/app.js @@ -1,5 +1,5 @@ var TwilioClient = require('../../lib/twilio').Client, - Twiml = require('../../lib/twiml').Twiml, + Twiml = require('../../li...
Incremental progress on Twiml events
twilio_twilio-node
train
js,js
bc49fc9d8d4112fea9fddd6983fdd94912899fe8
diff --git a/lib/rbbt/util/open.rb b/lib/rbbt/util/open.rb index <HASH>..<HASH> 100644 --- a/lib/rbbt/util/open.rb +++ b/lib/rbbt/util/open.rb @@ -778,6 +778,7 @@ module Open file = Pathname.new(file).realpath.to_s end + return nil unless File.exists?(file) File.mtime(file) ...
Return nil for mtime on missing files
mikisvaz_rbbt-util
train
rb
eb8a69ef80739f760e24c6aa03303874d69fe466
diff --git a/lib/volt/models/model.rb b/lib/volt/models/model.rb index <HASH>..<HASH> 100644 --- a/lib/volt/models/model.rb +++ b/lib/volt/models/model.rb @@ -40,7 +40,7 @@ module Volt # the id is stored in a field named _id, so we setup _id to proxy to this def _id - @attributes && @attributes[:_id] +...
fix issue with _id not being set
voltrb_volt
train
rb,rb
d6c8efa547bea3df75ff74082ba87c843298e6d9
diff --git a/cmd/watcher/main.go b/cmd/watcher/main.go index <HASH>..<HASH> 100644 --- a/cmd/watcher/main.go +++ b/cmd/watcher/main.go @@ -23,6 +23,7 @@ func main() { listFiles := flag.Bool("list", false, "list watched files on start") stdinPipe := flag.Bool("pipe", false, "pipe event's info to command's stdin") ...
Add flag of comma separated paths to ignore.
radovskyb_watcher
train
go
fa6d4e114d43a27846e8471bd1420331e742de6c
diff --git a/tests/dummy/test/integration/controllers/PostController.test.js b/tests/dummy/test/integration/controllers/PostController.test.js index <HASH>..<HASH> 100644 --- a/tests/dummy/test/integration/controllers/PostController.test.js +++ b/tests/dummy/test/integration/controllers/PostController.test.js @@ -58,6 ...
FIX PATH /posts test was declared under the wrong describe
dynamiccast_sails-json-api-blueprints
train
js
154a38183fe401343744cded2ab37ea49c04c633
diff --git a/examples/demo2.js b/examples/demo2.js index <HASH>..<HASH> 100755 --- a/examples/demo2.js +++ b/examples/demo2.js @@ -41,7 +41,7 @@ http.createServer(function (request, response) { 'content-type': 'application/octet-stream; charset=utf-8', 'content-disposition': 'attachment; filename="page.html"'...
Fix bug in demo. Added .toString method for out to file.
unclechu_node-njst
train
js
aed9b3066f9d796e5c89e38d833c87e130a421c3
diff --git a/auth0/v2/blacklists.py b/auth0/v2/blacklists.py index <HASH>..<HASH> 100644 --- a/auth0/v2/blacklists.py +++ b/auth0/v2/blacklists.py @@ -3,16 +3,15 @@ from .rest import RestClient class Blacklists(object): def __init__(self, domain, jwt_token): - url = 'https://%s/api/v2/blacklists/tokens' ...
Fix Blacklists usage of RestClient
auth0_auth0-python
train
py
fedd136791d8b066f34a09d0476aef216f6ef2ad
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -27,9 +27,9 @@ export default function Navaid(base, on404) { $.run = function (uri) { var i=0, params={}, arr, obj; - for (; i < routes.length;) { - obj = routes[i++]; - if (arr = obj.pattern.exec(f...
fix: revert `uri` inlining
lukeed_navaid
train
js
170f24e2afd7b11824b46d6d01ca466f805b5a13
diff --git a/nestly/scripts/nestrun.py b/nestly/scripts/nestrun.py index <HASH>..<HASH> 100755 --- a/nestly/scripts/nestrun.py +++ b/nestly/scripts/nestrun.py @@ -43,7 +43,7 @@ def invoke(max_procs, data, json_files): pid, _ = os.wait() proc, g = procs.pop(pid) - logging.info("[{0}] Finished ...
Whoops - old string formatting in logging
fhcrc_nestly
train
py
81d39f5c31a3628e05bc244eebc5f8471e2de2dd
diff --git a/lib/textbringer/window.rb b/lib/textbringer/window.rb index <HASH>..<HASH> 100644 --- a/lib/textbringer/window.rb +++ b/lib/textbringer/window.rb @@ -687,6 +687,8 @@ module Textbringer else "U+%04X" % c.ord end + rescue ArgumentError + "0x" + c.unpack("H*")[0] end ...
rescue from ArgumentError by String#ord
shugo_textbringer
train
rb
2da1c51e2def1d9dfad36904f81a6808eca6526a
diff --git a/src/router.js b/src/router.js index <HASH>..<HASH> 100644 --- a/src/router.js +++ b/src/router.js @@ -1,6 +1,6 @@ import { parse } from 'url' import wechat from './wechat' -import { encode } from './utils' +import { encode, globals } from './utils' class Router { _tabs = [] @@ -53,7 +53,7 @@ export...
refactor: get `getCurrentPages` from globals container
tinajs_tina-router
train
js,js
721ba87aaefcc007f4a8c12c37855f1f30020faa
diff --git a/playhouse/shortcuts.py b/playhouse/shortcuts.py index <HASH>..<HASH> 100644 --- a/playhouse/shortcuts.py +++ b/playhouse/shortcuts.py @@ -204,8 +204,9 @@ class RetryOperationalError(object): except OperationalError: if not self.is_closed(): self.close() - c...
Wrap retry operation in `ExceptionWrapper`, fixes #<I>
coleifer_peewee
train
py
a97324cb512b28f464d974f580751c1f332ea4eb
diff --git a/tests/tests_py35.py b/tests/tests_py35.py index <HASH>..<HASH> 100644 --- a/tests/tests_py35.py +++ b/tests/tests_py35.py @@ -18,7 +18,8 @@ class FakeUpdateError(Exception): class ManagerTransactionsTestCase(BaseManagerTestCase): - only = ['postgres', 'postgres-ext', 'postgres-pool', 'postgres-pool...
Tests for async MySQL are passing
05bit_peewee-async
train
py
57eac53f286c0b837bd456ccd6d94cadbe871137
diff --git a/iotilecore/utilities/asyncio.py b/iotilecore/utilities/asyncio.py index <HASH>..<HASH> 100644 --- a/iotilecore/utilities/asyncio.py +++ b/iotilecore/utilities/asyncio.py @@ -121,7 +121,7 @@ class AsyncPacketBuffer: self.items.release() raise TimeoutError("Asynchronous Read timed out waiting for a...
Remove latent semaphore release issue that can cause intermittent failures
iotile_coretools
train
py
05606cde59ac2f1595bdd9bfc44385182e68bb45
diff --git a/connection.go b/connection.go index <HASH>..<HASH> 100644 --- a/connection.go +++ b/connection.go @@ -445,8 +445,7 @@ func (c *Connection) shouldLogError( if err == syscall.ENOENT { return false } - - case *fuseops.GetXattrOp: + case *fuseops.GetXattrOp, *fuseops.ListXattrOp: if err == syscall...
Don't log ERANGE for ListXattrOp. ListXattrOp behaves similarly to GetXattrOp in that you have to return ERANGE in order to indicate the size of the attribute list, so logging errors isn't warranted.
jacobsa_fuse
train
go
f4729759f600372455f062c75859f084e23a5d78
diff --git a/packages/discord.js/src/structures/EmbedBuilder.js b/packages/discord.js/src/structures/EmbedBuilder.js index <HASH>..<HASH> 100644 --- a/packages/discord.js/src/structures/EmbedBuilder.js +++ b/packages/discord.js/src/structures/EmbedBuilder.js @@ -2,6 +2,7 @@ const { EmbedBuilder: BuildersEmbed, isJSO...
refactor(EmbedBuilder): allow hex strings in setColor (#<I>) * refactor(EmbedBuilder): allow hex strings in setColor * Apply suggestions from code review
discordjs_discord.js
train
js
d37d6d6cacb9f82b3c4394500abb58bd734c62e9
diff --git a/src/js/select2/dropdown/attachBody.js b/src/js/select2/dropdown/attachBody.js index <HASH>..<HASH> 100644 --- a/src/js/select2/dropdown/attachBody.js +++ b/src/js/select2/dropdown/attachBody.js @@ -177,8 +177,6 @@ define([ }; AttachBody.prototype._resizeDropdown = function () { - this.$dropdownC...
Fix issue in IE 8-<I> that prevents typing characters that require multiple key presses to produce a single glyph.
select2_select2
train
js
7daae67ee1850ab53a01cba83e24c7ffad841f4a
diff --git a/solvebio/resource/datasetimport.py b/solvebio/resource/datasetimport.py index <HASH>..<HASH> 100644 --- a/solvebio/resource/datasetimport.py +++ b/solvebio/resource/datasetimport.py @@ -69,4 +69,4 @@ class DatasetImport(CreateableAPIResource, ListableAPIResource, if self.status == 'completed': ...
use the dataset full_name instead of id
solvebio_solvebio-python
train
py
13f3a04bf31e8548c0f9c848cf0ec726ca5c2b57
diff --git a/lib/caching/File.php b/lib/caching/File.php index <HASH>..<HASH> 100644 --- a/lib/caching/File.php +++ b/lib/caching/File.php @@ -29,7 +29,7 @@ class File extends Cache { private function hashKey($key) { - return md5($key); + return $key; } protected function addImp...
Prevented the file cache from using a hash in its naming scheme. This means keys for caching must contain valid filename characters
ntentan_ntentan
train
php
0c70731509885403c404b00e6664c933f10dc6af
diff --git a/pypeerassets/card_parsers.py b/pypeerassets/card_parsers.py index <HASH>..<HASH> 100644 --- a/pypeerassets/card_parsers.py +++ b/pypeerassets/card_parsers.py @@ -1,6 +1,6 @@ '''parse cards according to deck issue mode''' -from .pautils import exponent_to_amount +from pypeerassets.pautils import exponent...
re-implement once_parser
PeerAssets_pypeerassets
train
py
264bc8462ffa71a7e55849fc361b9e8d826e8a99
diff --git a/annis-service/src/main/java/annis/service/internal/ImportWorker.java b/annis-service/src/main/java/annis/service/internal/ImportWorker.java index <HASH>..<HASH> 100644 --- a/annis-service/src/main/java/annis/service/internal/ImportWorker.java +++ b/annis-service/src/main/java/annis/service/internal/ImportW...
we check if a corpus was imported already before we get to this code, we should always overwrite it since it might be old stuff that was never deleted
korpling_ANNIS
train
java
13cfc585837cf1170c6528a5970d0dbeccd78ce1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Libraries :: Python Modules """.splitlines()))) -INSTALL_REQUIRES = ['pyperclip >= 1.5.27', 'colorama'] +INSTALL_R...
Require ‘attrs’
python-cmd2_cmd2
train
py
096a7d784010b28d0e590d709d1f7c31f691af18
diff --git a/tests/Endpoint/PartitionEndpointProviderTest.php b/tests/Endpoint/PartitionEndpointProviderTest.php index <HASH>..<HASH> 100644 --- a/tests/Endpoint/PartitionEndpointProviderTest.php +++ b/tests/Endpoint/PartitionEndpointProviderTest.php @@ -543,7 +543,6 @@ class PartitionEndpointProviderTest extends TestC...
Remove outdated endpoint test (#<I>)
aws_aws-sdk-php
train
php
f2748607c237a7b025b2f943a0c1f8f2a7c31adc
diff --git a/src/Auth/DefaultAuthSetupTrait.php b/src/Auth/DefaultAuthSetupTrait.php index <HASH>..<HASH> 100644 --- a/src/Auth/DefaultAuthSetupTrait.php +++ b/src/Auth/DefaultAuthSetupTrait.php @@ -11,13 +11,6 @@ namespace Burzum\UserTools\Auth; trait DefaultAuthSetupTrait { /** - * Gets the component registry. - ...
Removing an necessary method from DefaultAuthSetupTrait.php Not sure why it was added in the first place.
burzum_cakephp-user-tools
train
php
718b72da32cb223a20401e22015a1cffcfa6772f
diff --git a/tchannel-example/src/main/java/com/uber/tchannel/json/JsonClient.java b/tchannel-example/src/main/java/com/uber/tchannel/json/JsonClient.java index <HASH>..<HASH> 100644 --- a/tchannel-example/src/main/java/com/uber/tchannel/json/JsonClient.java +++ b/tchannel-example/src/main/java/com/uber/tchannel/json/J...
Missed one method call in rebase
uber_tchannel-java
train
java
34353e0ab3ce2ac0f67166caff1b1bb101ad2e76
diff --git a/pyaas/server.py b/pyaas/server.py index <HASH>..<HASH> 100644 --- a/pyaas/server.py +++ b/pyaas/server.py @@ -104,7 +104,7 @@ class Application(tornado.web.Application): tornado.web.Application.__init__(self, self.patterns, **self.settings) try: - self.listen(self.port, self....
pass xheaders for when behind nginx
moertle_pyaas
train
py
82fcbcddd41371f89bb228df7c7f6485ab49b0d4
diff --git a/acos_client/v30/action.py b/acos_client/v30/action.py index <HASH>..<HASH> 100644 --- a/acos_client/v30/action.py +++ b/acos_client/v30/action.py @@ -20,7 +20,7 @@ from acos_client.v30 import base class Action(base.BaseV30): - def write_memory(self, destination="primary", partition="all", **kwargs)...
Fix order of optional arguments Existing code in a<I>-neutron-lbaas calls activate_ and_write using partition name as the first argument. I changes the order of the optional arguments in both activate_ and_write and write_memory for consistency.
a10networks_acos-client
train
py
b4eaaa9f052fb7064b038d77d5ada92f29aa59c0
diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb index <HASH>..<HASH> 100644 --- a/lib/appsignal/version.rb +++ b/lib/appsignal/version.rb @@ -1,5 +1,5 @@ require "yaml" module Appsignal - VERSION = "2.3.2".freeze + VERSION = "2.3.3.beta.1".freeze end
Bump to <I>.beta<I> [ci skip]
appsignal_appsignal-ruby
train
rb
060ec5b3adbc8a041a57ab3eeb5b181c2b5b7a06
diff --git a/TYPO3.Media/Classes/TYPO3/Media/Domain/Service/AssetService.php b/TYPO3.Media/Classes/TYPO3/Media/Domain/Service/AssetService.php index <HASH>..<HASH> 100644 --- a/TYPO3.Media/Classes/TYPO3/Media/Domain/Service/AssetService.php +++ b/TYPO3.Media/Classes/TYPO3/Media/Domain/Service/AssetService.php @@ -71,7 ...
BUGFIX: Initialize usageStrategies as empty array Currently, the Asset models of the Media package cannot be used without having an AssetUsageStrategy implemented. If no such strategy is implemented (e.g. by using Media without Neos and no need for usage information), using an Asset model will lead to a fatal error be...
neos_neos-development-collection
train
php
fc4906f93bb94812b7a729be5fcc6ca60417341b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -152,6 +152,7 @@ player.initializeSong = initializeSong; var addToQueue = function(song, metadata) { // check that required fields are provided if(!song.title || !song.songID || !song.backendName || !song.duration) ...
log to console also when required song fields were missing
FruitieX_nodeplayer
train
js
7f374bfa607a9021a8c38c04a38dd3daaa03bd08
diff --git a/Rakefile b/Rakefile index <HASH>..<HASH> 100644 --- a/Rakefile +++ b/Rakefile @@ -53,12 +53,4 @@ namespace :sandbox do end end end - - desc "Empty and reseed the database on Heroku" - task :reseed do - app = "godmin-sandbox" - Bundler.with_clean_env do - system("heroku run rake ...
Fix/rails5 sandbox (#<I>) * Set db env on sandbox deploy * Require resolver before using it
varvet_godmin
train
Rakefile,rb,rb
ff783ef6329a2deb02d6af8ebcbb9a7a9a3979f1
diff --git a/library/CM/Model/StreamChannel/Abstract.php b/library/CM/Model/StreamChannel/Abstract.php index <HASH>..<HASH> 100644 --- a/library/CM/Model/StreamChannel/Abstract.php +++ b/library/CM/Model/StreamChannel/Abstract.php @@ -153,7 +153,7 @@ abstract class CM_Model_StreamChannel_Abstract extends CM_Model_Abstr...
Stored stream channel types in APC cache instead of Memcached (from where they were never retrieved)
cargomedia_cm
train
php
379e31070bcff896bc2150818c617109bb8cac42
diff --git a/lib/jrubyfx/version.rb b/lib/jrubyfx/version.rb index <HASH>..<HASH> 100644 --- a/lib/jrubyfx/version.rb +++ b/lib/jrubyfx/version.rb @@ -1,4 +1,4 @@ module JRubyFX # Current gem version. Used in rake task. - VERSION='0.8' + VERSION='0.9' end
Bumping to <I>
jruby_jrubyfx
train
rb
39d65305a346977736074896837f06df0043d76c
diff --git a/discord/channel.py b/discord/channel.py index <HASH>..<HASH> 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -109,6 +109,11 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable): permissions_for.__doc__ = discord.abc.GuildChannel.permissions_for.__doc__ + ...
Add TextChannel.members to get members that can see a channel.
Rapptz_discord.py
train
py
eaa7f86775a1f347b65fec78a99c6409de1b51a2
diff --git a/lib/rfd.rb b/lib/rfd.rb index <HASH>..<HASH> 100644 --- a/lib/rfd.rb +++ b/lib/rfd.rb @@ -435,6 +435,7 @@ module Rfd FileUtils.mkdir_p File.join(current_dir, f.basename) Zip::File.open(f.path) do |zip| zip.each do |entry| + FileUtils.mkdir_p File.join(File.join(f.bas...
Make sure that the target dir exists before unzipping an entry
amatsuda_rfd
train
rb
b85985b1a51388d3a7b7fbd7e47d8b6d75128657
diff --git a/lib/styleguide.js b/lib/styleguide.js index <HASH>..<HASH> 100644 --- a/lib/styleguide.js +++ b/lib/styleguide.js @@ -385,6 +385,9 @@ function parseKssMarkup(files, options, success) { modifier.wrappedMarkup = modifier.markup; modifier.wrappedMarkup = section.wrapper.replace('<sg:wrap...
Do not show nested sections in teh resultant JSON
SC5_sc5-styleguide
train
js
1b5f07cdb88cce8abdb30b33c0e352ce9a9eba91
diff --git a/test/errors_test.rb b/test/errors_test.rb index <HASH>..<HASH> 100644 --- a/test/errors_test.rb +++ b/test/errors_test.rb @@ -11,6 +11,7 @@ class ErrorsTest < Minitest::Test } } } + index.store valid_dog error = assert_raises(Searchkick::ImportError) do index.bulk_index ...
Fix build with mongoid4/5
ankane_searchkick
train
rb
32a951cb6cefe1c2e27b21c00c573d9933c50588
diff --git a/lib/vagrant/commands.rb b/lib/vagrant/commands.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant/commands.rb +++ b/lib/vagrant/commands.rb @@ -211,13 +211,6 @@ msg box.destroy end - - private - - def act_on_vm(&block) - yield Env.persisted_vm - Env.persisted_vm.exec...
Removed unused method on Vagrant::Command
hashicorp_vagrant
train
rb
76aff1d33e6d6b8577d2485357eff6d95a539886
diff --git a/lib/dm-core/model.rb b/lib/dm-core/model.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/model.rb +++ b/lib/dm-core/model.rb @@ -452,7 +452,7 @@ module DataMapper def new(attributes = {}) model = nil - if discriminator = properties.discriminator + if discriminator = properties(repo...
Updated Model#new to use properties scoped to the current repository
datamapper_dm-core
train
rb
2eaaf8750bb9bb69dc4ea1bacdb901b6baf1a6af
diff --git a/drools-compiler/src/main/java/org/drools/compiler/commons/jci/compilers/EclipseJavaCompiler.java b/drools-compiler/src/main/java/org/drools/compiler/commons/jci/compilers/EclipseJavaCompiler.java index <HASH>..<HASH> 100644 --- a/drools-compiler/src/main/java/org/drools/compiler/commons/jci/compilers/Eclip...
[BZ-<I>] upgrade eclipse java compiler to <I> version
kiegroup_drools
train
java
32deb6744f1e8b64829cd17a52f24467a71ff7c2
diff --git a/treeherder/webapp/migrations/0001_initial.py b/treeherder/webapp/migrations/0001_initial.py index <HASH>..<HASH> 100644 --- a/treeherder/webapp/migrations/0001_initial.py +++ b/treeherder/webapp/migrations/0001_initial.py @@ -349,4 +349,4 @@ class Migration(SchemaMigration): } } - comple...
added new line at the end of file
mozilla_treeherder
train
py
d353b6e422957afcffe796b6f34dd2d37cb38fdd
diff --git a/kubespawner/__init__.py b/kubespawner/__init__.py index <HASH>..<HASH> 100644 --- a/kubespawner/__init__.py +++ b/kubespawner/__init__.py @@ -12,6 +12,6 @@ in your `jupyterhub_config.py` file. # Users can simply import kubespawner.KubeSpawner in their applications # instead of the more verbose import kub...
Expose __version__ in kubespawner module I ended up wanting this to be available to the _log_cls helper function in JupyterHub. ref: <URL>
jupyterhub_kubespawner
train
py
0e25cd8e7c892e998c20812a8c3de3b41e03fb49
diff --git a/xds/src/main/java/io/grpc/xds/sds/trust/CertificateUtils.java b/xds/src/main/java/io/grpc/xds/sds/trust/CertificateUtils.java index <HASH>..<HASH> 100644 --- a/xds/src/main/java/io/grpc/xds/sds/trust/CertificateUtils.java +++ b/xds/src/main/java/io/grpc/xds/sds/trust/CertificateUtils.java @@ -50,4 +50,6 @@...
xds: add private constructor for utility class. (#<I>)
grpc_grpc-java
train
java
194cfb1622cead12fe57ba84bd849f55c77070ba
diff --git a/lib/noisy_failures.rb b/lib/noisy_failures.rb index <HASH>..<HASH> 100644 --- a/lib/noisy_failures.rb +++ b/lib/noisy_failures.rb @@ -5,13 +5,15 @@ module DataMapper def save unless self.save? - raise self.errors.map { |e| "#{self.class}: #{e.join(', ')}" }.join("\n") + error_me...
updated implementation to raise instances of DM's SaveFailureError
dtao_dm-noisy-failures
train
rb
dfae8435d9bf7c720a56876b21af2107fab0f3de
diff --git a/protocol/src/main/java/org/jboss/as/protocol/ProtocolUtils.java b/protocol/src/main/java/org/jboss/as/protocol/ProtocolUtils.java index <HASH>..<HASH> 100644 --- a/protocol/src/main/java/org/jboss/as/protocol/ProtocolUtils.java +++ b/protocol/src/main/java/org/jboss/as/protocol/ProtocolUtils.java @@ -32,6 ...
Compile and build ok. Server startup fails with NoClassDefFoundError: javax/management/ObjectName was: ebde<I>f2aea<I>b<I>cfa0fd<I>cd<I>cd6bf
wildfly_wildfly-core
train
java
4881eb36d25ba3a6931150bd871af7b523b7ee5a
diff --git a/lib/osc_machete_rails/statusable.rb b/lib/osc_machete_rails/statusable.rb index <HASH>..<HASH> 100644 --- a/lib/osc_machete_rails/statusable.rb +++ b/lib/osc_machete_rails/statusable.rb @@ -85,9 +85,9 @@ module OscMacheteRails # @param [Job] new_job The Job object to be assigned to the Statusable inst...
use assignment methods provided by activerecord store
OSC_osc_machete_rails
train
rb
bc6a6ccfe96964990e868c1444c96181fc708e4a
diff --git a/src/rstcheck/cli.py b/src/rstcheck/cli.py index <HASH>..<HASH> 100644 --- a/src/rstcheck/cli.py +++ b/src/rstcheck/cli.py @@ -71,6 +71,10 @@ def cli( # pylint: disable=too-many-arguments ), ) -> int: """CLI of rstcheck.""" + if pathlib.Path("-") in files and len(files) > 1: + typer.ec...
add error for cli if - and files are passed
myint_rstcheck
train
py
254801605df4ddd4ae0888c1a2e99a069644e2b7
diff --git a/peewee_migrate/router.py b/peewee_migrate/router.py index <HASH>..<HASH> 100644 --- a/peewee_migrate/router.py +++ b/peewee_migrate/router.py @@ -153,9 +153,8 @@ class BaseRouter(object): except Exception as exc: self.database.rollback() - self.logger.exception(exc) ...
Improved migration error handling Instead of two log messages, log single one containing both error message and traceback
klen_peewee_migrate
train
py
e41266d7f88ce3e52f407e6a899b223f617bc6ee
diff --git a/flask_fido_u2f.py b/flask_fido_u2f.py index <HASH>..<HASH> 100644 --- a/flask_fido_u2f.py +++ b/flask_fido_u2f.py @@ -250,7 +250,7 @@ class U2F(): except Exception as e: return { 'status':'failed', - 'error': 'Invalid Signature!' + 'erro...
Added missing message to success verification. Fixed typo.
herrjemand_flask-fido-u2f
train
py
05ad8257e0c4ff1fd7b01b6c21a3e090e3fde146
diff --git a/pymc3/distributions/dist_math.py b/pymc3/distributions/dist_math.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/dist_math.py +++ b/pymc3/distributions/dist_math.py @@ -46,7 +46,7 @@ _beta_clip_values = { } -def bound(logp, *conditions, **kwargs): +def bound(logp, *conditions, broadcast_condi...
add explicit keyword arg for broadcast_conditions (#<I>) * add explicit keyword arg for broadcast_conditions * Update pymc3/distributions/dist_math.py
pymc-devs_pymc
train
py
40095b001ab95fda4cc80bcc807508e9580ebf2d
diff --git a/fireplace/cards/gvg/neutral_legendary.py b/fireplace/cards/gvg/neutral_legendary.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/gvg/neutral_legendary.py +++ b/fireplace/cards/gvg/neutral_legendary.py @@ -19,3 +19,23 @@ class GVG_114: def deathrattle(self): legendary = randomCollectible(type=Card...
Implement Toshley, Mekgineer Thermaplugg and Gazlowe
jleclanche_fireplace
train
py
a13d29cda775194dbf4a677c416d1840bf733922
diff --git a/pyqrcode/builder.py b/pyqrcode/builder.py index <HASH>..<HASH> 100755 --- a/pyqrcode/builder.py +++ b/pyqrcode/builder.py @@ -1363,12 +1363,16 @@ def _eps(code, version, file_or_path, scale=1, module_color=(0, 0, 0), """ from functools import partial import time + import textwrap d...
Limit line length acc. to PostScript specification
mnooner256_pyqrcode
train
py
2ee0d90980c89cfdeceac8a467c7fda5d8ae24cc
diff --git a/src/components/com_notifications/controllers/processor.php b/src/components/com_notifications/controllers/processor.php index <HASH>..<HASH> 100644 --- a/src/components/com_notifications/controllers/processor.php +++ b/src/components/com_notifications/controllers/processor.php @@ -112,13 +112,14 @@ class C...
Blocking mail notifications temporarily until we fix the bug
anahitasocial_anahita
train
php
f8603b156744421aec0316772b8d03c28a7ef984
diff --git a/buildfox.py b/buildfox.py index <HASH>..<HASH> 100755 --- a/buildfox.py +++ b/buildfox.py @@ -179,14 +179,14 @@ filter toolset:gcc filter toolset: r"gcc|clang" rule cc - command = $cc -c $in -o $out -MMD $cxxflags $defines $includedirs + command = $cc -c $in -o $out -MMD -MF $out.d $cxxflags $define...
correct depfile generation for gcc Depfile wasn't correctly generated for gcc. It prevented ninja from understanding any dependencies at all when using buildfox.
beardsvibe_buildfox
train
py
214d5da41849f66df10e3cd46ef732819b38d943
diff --git a/stripe/__init__.py b/stripe/__init__.py index <HASH>..<HASH> 100644 --- a/stripe/__init__.py +++ b/stripe/__init__.py @@ -547,10 +547,10 @@ class UpdateableAPIResource(APIResource): return self class DeletableAPIResource(APIResource): - def delete(self): + def delete(self, **params): request...
Add optional params to delete method
stripe_stripe-python
train
py
34624b90d01ae0b59eb11ab00af3136b137de927
diff --git a/CGRtools/algorithms/standardize.py b/CGRtools/algorithms/standardize.py index <HASH>..<HASH> 100644 --- a/CGRtools/algorithms/standardize.py +++ b/CGRtools/algorithms/standardize.py @@ -29,7 +29,6 @@ class Standardize: :return: number of found groups """ - self.aromatize() ...
aromatization removed from standardize procedure
cimm-kzn_CGRtools
train
py
d5b7c131dd4de9a1a28e0791746680503fc29907
diff --git a/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannel.java b/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannel.java index <HASH>..<HASH> 100644 --- a/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannel.java +++ b/transport-nat...
Correctly write single ByteBuf with memoryAddress Motivation: While optimize gathering writes I introduced a bug when writing single ByteBuf that have a memoryAddress. This regression was introduced by <I>bd6e7a<I>f<I>fa<I>f1eeb<I>. Modifications: Correctly use the writerIndex as argument when call Native.writeAddr...
netty_netty
train
java
a1316a2fa3cebd88930ad0102d1011568ff0b246
diff --git a/test/parse_equation_test.rb b/test/parse_equation_test.rb index <HASH>..<HASH> 100644 --- a/test/parse_equation_test.rb +++ b/test/parse_equation_test.rb @@ -1,4 +1,4 @@ -require 'minitest' +require 'minitest/autorun' require_relative './../lib/latex_eval.rb' class TestParseEquation < Minitest::Test di...
need minitest/autorun to run single testfile
joshddunn_latex_eval
train
rb,rb,rb
330fe21d06e24a6c2a4405af46cfc5c5a40c9a08
diff --git a/lib/android.js b/lib/android.js index <HASH>..<HASH> 100644 --- a/lib/android.js +++ b/lib/android.js @@ -15,10 +15,10 @@ checks.push(new EnvVarAndPathCheck('JAVA_HOME')); class JavaOnPathCheck extends DoctorCheck { async diagnose () { let javaHomeBin = path.resolve(process.env.JAVA_HOME, 'bin'); ...
Fixed checking jdk bin included in PATH The condition checking for JAVA_HOME/bin was always returning true and throws an error.
appium_appium-doctor
train
js
a7792d0f8745618d5a6ed5a0b037d7c4de7de9d3
diff --git a/atws/wrapper.py b/atws/wrapper.py index <HASH>..<HASH> 100644 --- a/atws/wrapper.py +++ b/atws/wrapper.py @@ -178,7 +178,7 @@ class QueryCursor(Cursor): def fetch_one(self): - return self._generator.next() + return next(self._generator,None) class ActionCursor(Qu...
fetch_one should return None if there is nothing left or there was nothing. generator.next() raises a StopIteration if end of generator, next() has a default option.
MattParr_python-atws
train
py
a1948827ff3060d348b4de55a6d912fe1405a6ea
diff --git a/app/zephyrus/network/Router.php b/app/zephyrus/network/Router.php index <HASH>..<HASH> 100644 --- a/app/zephyrus/network/Router.php +++ b/app/zephyrus/network/Router.php @@ -1,7 +1,8 @@ <?php namespace Zephyrus\Network; use Zephyrus\Application\Configuration; -use Zephyrus\Exceptions\InvalidCsrfExcepti...
Updated global router to automatically includes the authorization mechanism
dadajuice_zephyrus
train
php